SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components

Closed
0
0

Hello,

I would like to be able to change the rollover tooltip cursor color. It seems to be defaulted to the lineseries areastyle property color. I would like to be able to change it to a different color. I have not been able to find anything in the docs regarding how to do this.

Thank you

Version
4.4.0.5778
Images
  • You must to post comments
0
0

Hi, there.

You will have to override “onDrawOverlay(in rect: CGRect)” method in your SCIXySeriesTooltip subclass, something like this:

        override func onDrawOverlay(in rect: CGRect) {
            self.onDrawTooltipOverlay(in: rect, atCoordinate: self.seriesInfo.xyCoordinate, with: .green)
        }

For more details, see the “Custom rollover tooltips” example

Images
  • C Bolton
    Thank you! That worked perfectly.
  • You must to post comments
Showing 1 result