chart-config
Object
default: {default settings}
mandatory: N/A
Object used to control behavior of chart, It has many options not all of them are mandatory but however one can use it to enhance the chart. If in any case the provided value does not match required type then default settings are used.
attribute
description
default
mandatory
label (String)
The date object or date string property name which can be used to plot graph
" "
yes
keys (String/Array)
The values or properties to which graph shall be plot can be a string in case of single line chart or array in case of multi line chart
" "
yes
color (Array)
Array of colors to be used in chart, lenght should be greater than equal to key(s)
[ ]
no
margin (Object)
Object of properties left,right,top,bottom : All strictly a number value, to set margins useful in case of handling long labels
{left:35, right:80, top: 30, bottom: 50}
no
legends (String/Array)
It accepts values in similar fashion as keys legends are given preference over keys in labelling
" "
no
drawCircle (Boolean)
Draws a circle at every end point on line when set to true
true
no
timeFormat (String)
"%d-%b-%y"
no
valueFormat (String)
".2s"
no
xlabelRotate (Number)
The rotation value in degree for x axis alignment
45
no
gridLines (Boolean)
draws background gridlines if set to true
true
no