I want to set the titles for my axes to be the same colour as the series. I seem to be able to do this by setting the title and series colours manually (e.g. = "red"), but I want the chart to use its automatic colour selection.
Thanks
Hi Nick,
I am glad you have resolved your issue. If any further questions occur on this matter you can still reply to this thread, I will keep an eye on it.
Thanks Hristo,
I did end up setting them manually (it worked, so I was happy with that solution), but I will look at changing the CSS itself.
Thanks,Nick
Hello,
I'm just following up to see if you need any further assistance with this issue. If so please let me know.
Hello Nick,
Thank you for posting in the Infragistics community !
I investigated this but it does not seem possible to match the colors automatically. Howeever in order to avoid the need to manually set the same colors to every axis label, series brush and so on you can change the default values in the corresponding css classes.
.ui-horizontal-axis-labels - Class applying font color, margin, and vertical alignment to the labels of horizontal axes. // you can find this class in the infragistics.ui.chart.css file
.ui-chart-palette-n - Class applying background-color and border-color to the n-th series in the chart. As many palettes can be defined as neccessary. // you can find this class in the infragistics.theme.css file
Please let me know if you have further questions on the matter, I will be glad to help.