faheem801 / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

Background color not reflected bars #420

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have using the bar chart in my application and used  the below code for set 
color to bars but the bars border and bar backgorund colors not matching.

 [ { data: ACCEPT, label: "Accepted", color: "rgb(0,100,0)" }    ,  { data: REJECT, label: "Rejected", color: "rgb(139,0,0)" }, { data: PENDING, label: "Pending", color: "rgb(255,255,0)" }, { data: TOTAL, label: "Total", color: "rgb(0,0,255)" }], 

If i used the fillcolor property all bars background changed to red. but i 
expect to set the colors to individualy.
 bars: { fillColor : "red" }

Advance thanks for your reply

Original issue reported on code.google.com by sun....@gmail.com on 17 Sep 2010 at 9:47

Attachments:

GoogleCodeExporter commented 9 years ago
Hi, check the comment in API.txt about "fill". If you set fill: 1, then it 
should work.

Original comment by olau%iol...@gtempaccount.com on 14 Dec 2010 at 9:56

GoogleCodeExporter commented 9 years ago

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 2:52