2 id="barpercentage-vs-categorypercentage">barPercentage vs categoryPercentage</h2>
<p>The following shows the relationship between the bar percentage option and the category percentage option.</p>
<pre><code class="lang-text">// categoryPercentage: 1.0
// barPercentage: 1.0
Bar:        | 1.0 | 1.0 |
Category:   |    1.0    |
Sample:     |===========|

// categoryPercentage: 1.0
// barPercentage: 0.5
Bar:          |.5|  |.5|
Category:  |      1.0     |
Sample:    |==============|

// categoryPercentage: 0.5