Open GoogleCodeExporter opened 8 years ago
You can give the contructor an array of color values to pick from when the
lines are drawn. As for the shapes, I made it odular so this could be changed,
but never really finished it up. Its grabbing shapes from MilkChart.Shapes.
This could easily be switched to an option where you could supply your own
object with shapes to use.
Original comment by theivi...@gmail.com
on 1 Nov 2011 at 6:34
I didn't find any kind of option for the colors in the documentation. Could you
please give me a short excample like the following?
var graph = new MilkChart.Line('graph',{
width: 680,
height: 300
});
Thanks in advance
Original comment by s...@liplex.de
on 1 Nov 2011 at 7:11
var graph = new MilkChart.Line('graph',{
width: 680,
height: 300,
colors: ['#000000', '#990000', '#009900', '#000099', '#ffffff']
});
https://github.com/theiviaxx/MilkChart/wiki
Original comment by theivi...@gmail.com
on 1 Nov 2011 at 7:20
Original issue reported on code.google.com by
s...@liplex.de
on 1 Nov 2011 at 6:26