mhmda Posted January 5, 2013 Share Posted January 5, 2013 Hi, How can I change bar's color (in web mode). How can I change ONE bar color, see this image: thanx, Link to comment Share on other sites More sharing options...
maher Posted January 13, 2013 Share Posted January 13, 2013 I also need to use charts and choose specific colors. Link to comment Share on other sites More sharing options...
Mediv Posted January 14, 2013 Share Posted January 14, 2013 +1 Link to comment Share on other sites More sharing options...
mhmda Posted January 30, 2013 Author Share Posted January 30, 2013 I have managed to create the chart,using htmlframe and extjs code, see image: Also with animation when moving from one record to another. Link to comment Share on other sites More sharing options...
Mediv07 Posted January 31, 2013 Share Posted January 31, 2013 Can you put a demo example of how you did it, thanks. Link to comment Share on other sites More sharing options...
mhmda Posted January 31, 2013 Author Share Posted January 31, 2013 Hi, for now i'm working in something that I have to finish till friday, after that i'll put an example project here. Link to comment Share on other sites More sharing options...
Skepsis IT Posted October 15, 2013 Share Posted October 15, 2013 Hi mohammad, did you finaly post a demo on how to create a chart? Thanks for your time Link to comment Share on other sites More sharing options...
Skepsis IT Posted October 15, 2013 Share Posted October 15, 2013 Mohammad I've found it at sample projects! Thanks a lot!!! Link to comment Share on other sites More sharing options...
Mattos Posted October 2, 2014 Share Posted October 2, 2014 I am trying to change the colors and I did not get it yet...! Link to comment Share on other sites More sharing options...
Sherzod Posted October 3, 2014 Share Posted October 3, 2014 I am trying to change the colors and I did not get it yet...! Hi, Try: UniChart1 -> ClientEvents -> UniEvents -> [Ext.chart.Chart [chart]] add function chart.beforeInit function chart.beforeInit(sender, config) { sender.themeAttrs.seriesThemes = [{fill: '#ff4565'}, {fill: 'green'}, {fill: 'yellow'}]; sender.themeAttrs.colors = ['#ff4565', 'green', 'yellow'] } Best regards. Link to comment Share on other sites More sharing options...
Lena Posted April 7, 2015 Share Posted April 7, 2015 Hi, Try: UniChart1 -> ClientEvents -> UniEvents -> [Ext.chart.Chart [chart]] add function chart.beforeInit function chart.beforeInit(sender, config) { sender.themeAttrs.seriesThemes = [{fill: '#ff4565'}, {fill: 'green'}, {fill: 'yellow'}]; sender.themeAttrs.colors = ['#ff4565', 'green', 'yellow'] } Best regards. Hi. I try your code in C++ Builder XE7 and I got error. Where my mistake? Thank you. Link to comment Share on other sites More sharing options...
Lena Posted April 7, 2015 Share Posted April 7, 2015 Sorry. I fix. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now