I have 2 series displayed on my chart. I have placed a VerticalLineAnnotation in VerticalSliceModifie to display rollover marker on a series. By default it gets displayed for each series plotted. How can I set it to be displayed only for one of the series?
I tried to set SeriesData Binding Path to specific series, but it did not work.
<visuals:VerticalSliceModifier Name="SliceModifier" ShowAxisLabels="False" ShowTooltipOn="Never" SeriesData="{Binding Path=Series[1]}">
<visuals:VerticalSliceModifier.VerticalLines>
<visuals:VerticalLineAnnotation X1="45"
Y1="80"
Stroke="Red"
StrokeThickness="1"
IsEditable="True"
x:Name="LRed"
ResizeDirections="XDirection"
DragDirections="XDirection"
VerticalAlignment="Bottom">
</visuals:VerticalLineAnnotation>
</visuals:VerticalSliceModifier.VerticalLines>
</visuals:VerticalSliceModifier>
- Anil Soman asked 5 years ago
- last active 5 years ago
Dear All:
I have been looking for a good way to obtain data from a multi-line chart (more than 1 y-value/y-axis) by either clicking an area that’s highlighted with a vertical line rollover, or selected with a vertical slice.
Basically I would like to take the data that I see in the Series Vertical Slices example, and extract the X-Axis values, as well as the Curve A, Curve B, and Curve C values that are shown on the vertical slice, so that I can insert that in something like a TextBox in a WPF.
Any idea how to do this, as well as with MVVM? (Will use MVC if necessary).
Thanks kindly!
— A
- Ari Sagiv asked 8 years ago
- last active 8 years ago
Hi
I’m having trouble making the RolloverModifier TooltipLabels stay inside the graphs canvas.
As you can see on the left most graph the colored sqaures and some of the digits has fallen outside the graphs canvas.
Also what are the TooltipLabels rules for clustering together, and rules for which side of the RolloverMarker the labels should appear on?
Still having a problem here… After setting the ClipModifierSurface on the SciChartSurface to False the time axis no longer clips the TooltipLabels.
But the graph itself clips the TooltipLabels when the label gets to large.
How do I make the labels stay inside the graph? As there is a lot of free space to the right of the labels.
- Sander Struijk asked 9 years ago
- last active 9 years ago