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

0
0

I have a need to display a group of data sets in one chart, but because the duration of the data sets vary quite a bit I’d like to have a logarithmic time axis. Has anyone done this before? Thanks in advance!

Version
5.3.0.11954
  • You must to post comments
0
0

Hi Jeramy,

Short answer, no, because TimeSpanAxis is linear, and there is no LogarithmicTimeSpanAxis.

However, you can use the LogarithmicNumericAxis and the LabelProvider feature to format numbers as labels.

For example, imagine your XyDataSeries<double,double> has X-values equal to 1, 2, 3, 4, 5 … and you denote 1 as 1 second.

Now you can use the LabelProvider feature to format these numbers as TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(2) etc…

Please let me know if this helps,

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.