Style Directives: js‐bin‐* - wrathtafarian/js-charts GitHub Wiki

🗑️ js-bin-* Style Directives

The js-bin-* style directives are used to customize the bins on a histogram.

The example below shows a histogram chart with a bin size of 1.

image

📚 Table of Contents

🗑️ js-bin-size

The js-bin-size style directive sets the bin size to be used on a histogram chart.

The example below sets a bin size of 0.25:

<div class="js-bin-size">0.25</div>

Only positive decimal values can be specified for the js-bin-size style directive.

⚠️ **GitHub.com Fallback** ⚠️