I am creating a custom chart theme for IGChartView. I've set .axisPalette, .plotAreaPalette, and .seriesPalettes and they seem to work ok, except for... the .plotAreaPalette doesn't affect the outer border area of the chart. I documentation states that plotAreaPalette "Determines the brush of the chart’s plot area. The chart’s plot area is the area where the series and the axis gridlines are displayed. The plot area does not include axis label panels." How do I theme the axis label panels?
Here is an image showing the part I cannot theme. The white area around the chart is actually where the axis labels are, which are in light gray color, so they are hard to see. I cannot seem to set the background color for that entire area around the plot area, even though it is part of the chart.
Using iOS7.1, latest controls.
Hello Jeff,
There is no way to set a brush to axis panels directly. Instead, all axis panels share the same brush as the chart’s background, so you either set backgroundColor in the theme or set backgroundColor property on the chart.
Please let me know if you have any further questions.
Coloring the axis panels the same as the chart background is what I want, but it doesn't work when I set it in the custom theme.
I may have been a bit too wordy in my original post, but I "have" set the backgroundColor property on the theme definition to my custom color, but it doesn't apply to the border areas around the chart where the axes are. However, if I set the backgroundColor property on the chart object itself as well, it does color the area around the chart. In other words, it appears the backgroundColor property on the theme definition doesn't work.