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!

Answered
0
0

I am currently evaluating and trying to find out if it is possible to draw the y-axis in the middle of the chart. Is this possible?

Like the alignment for left and right an alignment like “middle”. The sample only shows left and right alignment.
If it is not build in. Would it be possible to code a custom position? (But not by changing the source of SciChart but rather extending it).

I would need it for 2 scenarios:
A “running” chart like the FiFo Chart of the samples with the y-axis in the middle.
Like so (the pipe being the y-axis). First line the initial state. Second line after 3 ticks:
-1-2-3-4-5-|-6-7-8-9-
-4-5-6-7-8-|-9-10-11-12-

And a y-axis fixed chart like: y-axis at position 0 and the axis extending to the left with negative values and extending right with positive values (but at any possible position not just 0).

-(-5)-(-4)-(-3)-(-2)-(-1)-|-1-2-3-4-5-

I would have the same question for the x-Axis but I haven’t looked into x-axis configuration myself yet.

  • You must to post comments
Best Answer
1
1

Yes, it is!

From http://support.scichart.com/index.php?/Knowledgebase/Article/View/17250/29/creating-a-chart-with-center-axis

New to SciChart v3.2, you can place an axis in the centre of a chart.
To do this we have added a special property for the axis:
AxisBase.IsCenterAxis.

enter image description here

Does this help?

Best regards,
Andrew

  • Uwe Hafner
    That looks great. It should solve one of my requirements. Thanks . When I knew what I had to look for I even found it in the samples. Its the oscilloscope sample.
  • Andrew
    Glad to be of help! :)
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.