Pre loader

Remove Tooltip Shadow

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

Hello, how do I remove the shadow from tooltips, generated by the VerticalSliceModifier?

Thanks!

Version
3.2.491
Images
  • Andrew Burnett-Thompson
    Hey Michael, there is a property on IThemeProvider (passed into SciChartSurface.create({ theme: … }) called shadowEffectColor however this seems to be ignored for the VerticalSliceModifier. I’ll create a bug and we will investigate next week. Best regards, Andrew
  • You must to post comments
1
0

Hi

This fix/feature is done and released in v3.2.525. If you set shadowEffectColor to “transparent” it will remove the drop shadow on all tooltips.

sciChartSurface.create("div-id", { 
    theme: { ...new SciChartJSLightTheme(), shadowEffectColor: "Transparent" }
}

If you want to be a bit more specific, then for VerticalSliceModifier you must first add the modifier, then for each renderableSeries to

 verticalSliceModifier.getRolloverProps(renderableSeries).shadowColor = "transparent".

Again, you have to do this after the modifier and series have been added to the chart, otherwise the RolloverProps will not exist.

Regards
David

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.