Pre loader

Multiple Y axis with Vertically Stacked Axes

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

0
0

Hello,

I am trying to add multiple Y axis to this example:
https://github.com/ABTSoftware/SciChart.JS.Examples/blob/master/Examples/src/components/Examples/Charts2D/ModifyAxisBehavior/VerticallyStackedAxes/drawExample.ts

What I want to achieve is to add an additional Y axis which would display the index of the loop. I have tried to make the first yAxis isVisible to false and add the additional one but it seems that it creates a blank chart (extra blue lines in the image attachment) with the index label + the number range. At the end vertically stacked axes are doubled instead of showing just the index.
I am attaching the images and the running example. Maybe there is an easier way to show the index of the loop of the particular graph while not displaying the number range?

Any help would be kindly appreciated.

Version
3.3.560
Attachments
Images
  • Jim Risen
    If I understand correctly, “drawLabels” property might be what you are looking for. For example, set “yAxis.drawLabes = false” or pass it via options.
  • Zino As
    Thank you, this was indeed what I was looking for.
  • You must to post comments
0
0

As per comments, the solution was to disable the label drawing via the Axis option:

yAxis.drawLabes = false

More options can be found in our typedoc – https://www.scichart.com/documentation/js/current/typedoc/classes/axisbase2d.html

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.