Pre loader

Scrolling Vertically Stacked Axes Example

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

Answered
0
0

I create a chart like the example Vertically Stacked Axes. I add many channel,the chart would draw outside the view. It can’t scroll down or up to see other channel.
I have use NumericAxis scrollbar,but it only XAxis can scroll. Is there any method to solve it?

Images
  • You must to post comments
Great Answer
0
0

Hi Xuan,

Thanks for your inquiry. I have a hunch that you use StackPanel as ItemsPanelTemplate for LeftAxesPanelTemplate, am I right? What about using Grid as it is shown in our “Vertically Stacked Axes” example? In this case all the panes would be auto-sized to fit inside the grid.

Alternatively, you could add several surfaces to a ListBox, as it is shown in another example called “16-Channel EEG”.

Please let us know if any of these is suitable for you,

  • JiaRong Kang
    Hi Yuriy: I am using Grid as ItemsPanelTemplate ,and I set every row height as 40. I think that is why look like a StackPanel. There are many NumericAxis under the view. Now, my hope is surface can not only scroll Y-Axis which can see ecah of them,but also can see the X-Axis anytime . “16-Channel EEG” is suitable for Y-Axis scrolling ,but it can not hold the X-Axis or share the X-Axis for each channel. My final purpose is drawing many waveforms. Every waveform use the same X-Axis(Time) ,but respective Y-Axis(value 0,1,2…). Is there any suggestion? Thanks for your answer.
  • Yuriy Zadereckiy
    Hi Xuan, you could try binding VisibleRanges of every XAxis to the same property. Then they will be synchronized (see how it is done in the “Synchronize Mouse across Charts” example). Also you can hide all XAxes but the one on the very bottom chart to make it look like on your screenshot.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies