Show only the range of some items in SeriesErrorPoint
Moderator: Queue Moderators
Show only the range of some items in SeriesErrorPoint
In FreeformPointLineSeries using SeriesErrorPoint, is it posible to hide point only for some items?
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Show only the range of some items in SeriesErrorPoint
Hiding some points while keeping other points in the series visible? Not possible directly.
But series.SetClipAreas() may give the preferred result. With ClipAreas you can clip specific range off by X or Y.
It's a new feature in 6.2, so ensure you are running the latest assemblies.
But series.SetClipAreas() may give the preferred result. With ClipAreas you can clip specific range off by X or Y.
It's a new feature in 6.2, so ensure you are running the latest assemblies.
LightningChart Support Team, PT
Re: Show only the range of some items in SeriesErrorPoint
I have similar question. Can I hide actual point shape from error bar line? Actually, I'm using error bars to denote the range. So, if the point lies outside the range, I'm showing event marker in red color and want to hide the point on the line. Is it clear?
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am
Re: Show only the range of some items in SeriesErrorPoint
Hi,
There are several solutions for your question. With limited information is difficult to say, which solution would the optimal.
For example, you could just disable Series.PointsVisible and use SeriesEventMarkers instead. The benefit of SeriesEventMarker is possibility to manipulate its style individually. Therefore, you would be able simple set Marker.Visible=False.
Another option is to use Individual Point Coloring. Starting from v.7.2, the PointLineSeries, FreeformPointLineSeries, AreaSeries and HighLowSeries have Color field in the data point structures.
To enable individual point coloring, set IndividualPointColoring to Color1, Color2, Color3 or BorderColor setting. To disable individual point coloring, set IndividualPointColoring = Off. The color settings corresponds that color in PointStyle property. Please check corresponding Demo examples and User's Manual for more information on the topic.
All the best.
There are several solutions for your question. With limited information is difficult to say, which solution would the optimal.
For example, you could just disable Series.PointsVisible and use SeriesEventMarkers instead. The benefit of SeriesEventMarker is possibility to manipulate its style individually. Therefore, you would be able simple set Marker.Visible=False.
Another option is to use Individual Point Coloring. Starting from v.7.2, the PointLineSeries, FreeformPointLineSeries, AreaSeries and HighLowSeries have Color field in the data point structures.
To enable individual point coloring, set IndividualPointColoring to Color1, Color2, Color3 or BorderColor setting. To disable individual point coloring, set IndividualPointColoring = Off. The color settings corresponds that color in PointStyle property. Please check corresponding Demo examples and User's Manual for more information on the topic.
All the best.
Re: Show only the range of some items in SeriesErrorPoint
I'm trying out your solution Series.PointsVisible = false. Then those are not displayed in legend. Then, Can I make SeriousEventMarkers to appear in legend? I want its shape.
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am
Re: Show only the range of some items in SeriesErrorPoint
To be visible in the LegendBox, create dummy series: no points just line/point style same as marker. In addition, disable visibility for the first series in legendbox (Series.ShowInLegendBox=false).