API Documentation

Chart

Themable javascript chart widget. Line & area charts, pie & donut charts, bar & column, candlestick, ohlc, radar, polar, wind rose, spline, step line, bubble, scatter charts. For examples, check out Chart demo page.

Properties

Key Type Required Description
type string Yes Possible values are: line, area, stepline, pie, donut, bar, column, radar, polar, rose, candlestick, ohlc, spline, bubble, scatter. Defaults to line
legend boolean No Whether to show the legend. Defaults to true
tooltip boolean No Whether to show the tooltip. Defaults to true
series array Yes Data to visualize. Defaults to []
fontFamily string No Font family for all the text. Defaults to Arial
fontSize string No Font size for all the text. Defaults to 12px
radius number No Radius for pie and donut charts. Defaults to 75
innerRadius number No Radius of inner circle for donut charts. Defaults to 50
lineRowColor string No Fill color for axis. Defaults to #ccc
plugin string No Drawing engine. Possible values are svg and canvas. Defaults to svg
variation string No Defaults to null
points No Defaults to false
stacking string No Possible values are normal and percent. Defaults to false
progression string No Possible values are forward and backward. Defaults to forward
width number No Chart width. Defaults to 530
height number No Chart height. Defaults to 320
axisColor string No Color for all the axis. Defaults to #444
textColor string No Color for all the text. Defaults to #444

Methods

Method Arguments Description
hideLabels .zinoChart("hideLabels") Hide chart labels.
showLabels .zinoChart("showLabels") Show chart labels.
hideLegend .zinoChart("hideLegend") Hide chart legend.
showLegend .zinoChart("showLegend") Show chart legend.

Events

No events