Suresh ArumugamSeptember 21, 2016 at 10:19 pm #2733
We have requirement to enable more color options for Donut chart. We have below options for Data series color with SPARK toolkit.
Could you please advise possible options to change different color other than available.
Also please advise, can we change color of each data points (slice) in a data series.
</div>SPARK SupportSeptember 22, 2016 at 8:50 am #2742
These choices are based what is available in Bootstrap. In order to change the colors beyond this availability, you would need to create your own custom CSS and add it to the Inline CSS of your Coach View.
You may want to try walking through this article with a simpler control, and then apply the techniques to your own custom chart.
Stephen P.Suresh ArumugamSeptember 26, 2016 at 11:10 pm #2781
Thanks for your reply. As you have instructed, I am trying to extend/customize Donut Chart implementation and I need some help in understanding.
bg-primary, bg-info, bg-success, bg-warning, bg-danger
and I searched c3.css and BPMExt-Control-Chart.css file for definition of above classes but could not found.
I would like to extend Data Series color option by adding few more css classes. Could you please advise what other files, I should check to add more css classes.
Appreciate your help! Looking forward to hear from you!
Suresh ArumugamSPARK SupportSeptember 27, 2016 at 4:02 pm #2794
Which version of the Toolkit are you using?
Stephen P.Suresh ArumugamSeptember 27, 2016 at 9:26 pm #2795
I am using Spark UI (188.8.131.52 CE). Please advise.
Thanks and Regards,
Suresh ArumugamSPARK SupportSeptember 29, 2016 at 9:50 am #2806
The Community Edition of the SPARK UI Toolkit is intended to get a general feel for the use of the product. The Enterprise Edition of the Toolkit is much more accessible in terms of making customizations. Customers with an Enterprise subscription also have access to additional toolkits such as the SPARK Styler, which is used to change the appearance of most controls.
You can attempt to follow the article on Creating Your Own Control with the Community Edition toolkit and customizing the CSS. However, this article was written with the Enterprise subscriber in mind that would have access to all of the source code.
You must be logged in to reply to this topic.