YAxesLayout.Stacked chart scrollbar

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
spike514
Posts: 1
Joined: Wed Jun 27, 2018 6:10 am

YAxesLayout.Stacked chart scrollbar

Post by spike514 » Wed Jun 27, 2018 6:41 am

Hi
There are up to 16 series on the chart.(YAxesLayout.Stacked)
But It hard to read because the height of each series is too low.
So I'd like to specify a constant height and scroll to the right sicde.
Is it possible

See the picture attached

thanks
Attachments
scroll.png
scroll.png (65.98 KiB) Viewed 10340 times

ArctionKestutis
Posts: 552
Joined: Mon Mar 14, 2016 9:22 am

Re: YAxesLayout.Stacked chart scrollbar

Post by ArctionKestutis » Thu Jun 28, 2018 10:48 am

Hello,

Yes, it is possible.
There several improvement you can do to increase readability of the chart. First, it looks like you have very big gap between segments. It is controlled by property

Code: Select all

ViewXY.AxisLayout.SegmentsGap
Second, each segment has Height property, which set relate space for it. Available Chart's height is divided between segments relatively to those Segment.Height values. The only way to increase screen size of segment is to increase Chart size. Probably the simplest solution is to use ScrollViewer. The ScrollViewer control provides a convenient way to enable scrolling of content in Windows Presentation Foundation (WPF) applications. You can set size of this control be bigger than a computer screen's display area.

Hope this helps.

navask87
Posts: 2
Joined: Sat Jul 07, 2018 4:46 pm

Hiding a segment from the chart.

Post by navask87 » Sat Jul 07, 2018 4:56 pm

Hi team,

I am new to lightning chart and I have a question when I went through user manual and series of posts in forum.

Is it possible to hide a segment from multi segmented chart in wpf.
Something like
Segments.visibility=visibility.collapsed

Or is there any way for achieving this.

Thanks in advance.

ArctionKestutis
Posts: 552
Joined: Mon Mar 14, 2016 9:22 am

Re: YAxesLayout.Stacked chart scrollbar

Post by ArctionKestutis » Mon Jul 09, 2018 1:50 pm

Sorry for the late reply. It was busy week so forum was neglected. Writing directly to Support account with SubscriptionID usually result in more speedy answer.

Setting Segments.Height = 0 will do the trick.

Post Reply