This topic is locked

Help: Bar Chart Appearance

12/5/2017 8:35:08 PM
PHPRunner General questions
P
pinoyoutdoor author

Need help bar/column charting
I like to have more colors on the bars(appearance).
this code use only one color...

var series = chart.getSeriesAt(0);

series.color("#FF0000", 0.25);


but, anychart documentation have option/function called:
lighten

anychart.color.lighten("#FF0000", 0.2)


darken

anychart.color.darken("#FF0000", 0.2)


blend

var color1 = [255, 0, 0];

var color2 = [0, 0, 255];
var mixColor1 = anychart.color.blend(color1, color2, 0.2);


need help how to integrate above code in phprunner under chart modify...