Class CategoryScale
java.lang.Object
software.xdev.chartjs.model.options.scales.Scale<CategoryTicks,CategoryScale>
software.xdev.chartjs.model.options.scales.CategoryScale
The category scale will be familiar to those who have used v1.0. Labels are drawn from one of the label arrays
included in the chart data. If only data.labels is defined, this will be used. If data.xLabels is defined and the
axis is horizontal, this will be used. Similarly, if data.yLabels is defined and the axis is vertical, this property
will be used. Using both xLabels and yLabels together can create a chart that uses strings for both the X and Y
axes.
-
Field Summary
Fields inherited from class software.xdev.chartjs.model.options.scales.Scale
afterBuildTicks, afterCalculateTickRotation, afterDataLimits, afterFit, afterSetDimensions, afterTickToLabelConversion, afterUpdate, beforeBuildTicks, beforeCalculateTickRotation, beforeDataLimits, beforeFit, beforeSetDimensions, beforeTickToLabelConversion, beforeUpdate, display, gridLines, max, min, position, stack, stacked, stackWeight, suggestedMax, suggestedMin, ticks, title
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class software.xdev.chartjs.model.options.scales.Scale
getAfterBuildTicks, getAfterCalculateTickRotation, getAfterDataLimits, getAfterFit, getAfterSetDimensions, getAfterTickToLabelConversion, getAfterUpdate, getBeforeBuildTicks, getBeforeCalculateTickRotation, getBeforeDataLimits, getBeforeFit, getBeforeSetDimensions, getBeforeTickToLabelConversion, getBeforeUpdate, getDisplay, getGridLines, getMax, getMin, getPosition, getStack, getStacked, getStackWeight, getSuggestedMax, getSuggestedMin, getTicks, getTitle, self, setAfterBuildTicks, setAfterCalculateTickRotation, setAfterDataLimits, setAfterFit, setAfterSetDimensions, setAfterTickToLabelConversion, setAfterUpdate, setBeforeBuildTicks, setBeforeCalculateTickRotation, setBeforeDataLimits, setBeforeFit, setBeforeSetDimensions, setBeforeTickToLabelConversion, setBeforeUpdate, setDisplay, setGridLines, setMax, setMin, setPosition, setStack, setStacked, setStackWeight, setSuggestedMax, setSuggestedMin, setTicks, setTitle
-
Constructor Details
-
CategoryScale
public CategoryScale()
-