View Full Version : How to change the color of the lines in line chart

20 Sep 2012, 6:59 PM
Hi Team,
I was able to change the color of the marker and appearance , but not the color of the lines.
Kindly suggest how to achieve it..

Below is the code which i use
fill: "#76CCE3",
stroke: '#003300',
'stroke-width': 20,
fill: '#789',
opacity: 0.8
showMarkers: true,
fill : false,
type: 'circle',
radius: 5,
fill: 'white'

20 Sep 2012, 8:21 PM
I got it, using the below

style: {
fill: '#76CCE3',
stroke: '#76CCE3',
'stroke-width': 3

21 Sep 2012, 12:07 AM
using style can enable changing the color of the lines but be aware that this does not change the color shown in the legend (if you are displaying it). I am looking for a way to change it so that the color of the line along with its display in the legend both change. Does anyone know how to do this?

21 Sep 2012, 2:21 AM
yeah farish,
you are right..
will find out a way or some override to achieve it..
kindly share , if you could find it.