Pallav

Specify line colors in Dual-Y Axis chart

Recommended Posts

I currently have a dual y-axis chart with both datasets charted as lines. I would like to know how to change the default lineColors for each dataset.

I tried setting the lineColor property in the chart object, but that does not work. I also tried to set this same property on each dataset object, but that does not work either.

Lastly, I was able to change the color by setting the 'color' property for each set object, however, that does not change that dataset's color in the legend.

Any help would be appreciated, thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now