Advanced Usage: 7 - XY Axes Calibration


7.1 Bar Charts With X/Y Axis Calibrations

Custom axis calibration arrays can be provided to plot x (bottom) and y (left) calibration axis with ticks and values. To provide calibration axis definition, data-x-calibrations and data-y-calibrations can be configured to plot x and y calibration axes respectively. The value should be a set of strings or decimals. Position of ticks and values will be determined by equally dividing the axis into segments based on the number of values present in calibration array. To make room for calibrations, paddings can be configured inside data-opts as:

See the below demonstrations:


7.1.1 Bar Chart with X-Y Calibrations axes

7.1.2 Bar Chart with X-Y Calibrations axes and Padding

7.1.3 Bar Chart with Y Calibration axis and Left Padding