Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
630
Specifying custom theme background for axis label panels?
posted

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.

Parents
  • 48586
    posted

    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.

Reply Children