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.

Answered
1
0

I have an issue with LogarithmicNumericAxis and FastColumnRenderableSeries. If replace one of FastLineRenderableSeries with FastColumnRenderableSeries in Logarithmic Y-axis SciChart example you’ll receive empty chart (the same behaviour in my application). Only if disable logarithmic on both x and y axis the columns (and lines) appears. How to make LogarithmicNumericAxis with columns work?
Thanks!

  • You must to post comments
Best Answer
1
0

Hi Yury,

The reason you’ve seen empty chart is next: FastColumnRenderableSeries has property ZeroLineY, and it is 0 by default. When we try render the series, LogarithmicDoubleCoordinateCalculator try to get logarithm of 0, which is actually NaN, and therefore range for rendering is invalid.

Please try to set ZeroLineY different from 0. For example :

<s:FastColumnRenderableSeries ZeroLineY="1" FillBrush="#1964FF" SeriesColor="Blue"/>

Hope this helps.

Best regards,
Nazar.

  • You must to post comments
0
0

Hi Nazar
Thank you for your reply. But if I replcace a FastLineRenderableSeries in the Logarithmic Y-Axis example with your example string (FastColumnRenderableSeries ZeroLineY=”1″…) I still get the empty chart.

Images
  • Nazar
    Hi Yury,It's also because of logarithm properties. In this particular example case, x values are really small, like 0.0001 etc, and when we try to draw column, we need to subtract half of the column width to get the left x value, and it's lower than 0, and therefore it's logarithm is NaN. Hope it helps.Best regards, Nazar
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.