Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9269

Re: Formatting dual axis chart with svg

$
0
0

Andre - the problem is both of your lines are pointing to Axis 1

 

In the DOM this is all in the same class - see below:

andre1.jpg

 

If you change your second line to go to Axis 2

andre2.jpg

 

Then you can better specify which color goes to which line via the axis:

g.v-m-main g.v-m-plot g.v-markers.v-datashapesgroup g.v-axis1 path.v-datapoint.v-morphable-datapoint:nth-child(1) {fill: green;}

g.v-m-main g.v-m-plot g.v-markers.v-datashapesgroup g.v-axis2 path.v-datapoint.v-morphable-datapoint:nth-child(1) {fill: red;}

 

See below:

andre3.jpg


Viewing all articles
Browse latest Browse all 9269

Trending Articles