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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

Hello,

I’m having an issue plotting an FFT series on a Logarithmic axis using an Impulse chart. I have a ZoomExtentsModifier on my Surface (executes on MouseDoubleClick) that seems to only work for the X (non-log) axis. The Y axis doesn’t change at all when I double click, or when I call DataSeries.InvalidateParentSurface(RangeMode.ZoomToFit) from my ViewModel. If I change my axis to NumericAxis then ZoomExtents/ZoomToFit works fine.

Any suggestions would be appreciated.

Thanks.

  • You must to post comments
0
0

Hi,

FFT series seems to have negative values inside. If so, it can’t be rendered with the Logarithmic axis.

Does this make sense?

Best regards,
Yuriy

  • jsacks
    Hi Yuriy,Sorry for the delay, I was apparently not subscribed to update notifications on this thread.I double checked the values that are being plotted, and confirmed that none of them are negative. The plot is sort of rendered, but ZoomExtents() doesn't work on the y-axis (i.e. if I pan the chart and then double click to trigger ZoomExtents, the x-axis zooms but the y-axis doesn't change). Probably related, I initially have to pan around to find the data when the chart first loads.Thanks for your help.
  • Yuriy
    Hi there,As the example shows, you have zeros in your data, so the axis works unpredictable as cannot calculate lg(0)(take a look at cSeries2 the very first data point). So if you exclude all zeros it should work as expected.Best regards, Yuriy
  • jsacks
    Ah you are right. I checked for negative numbers but not zeros. Removing the zeros fixes the issues. Thanks for your help.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.