Hello,
I just want to override the ChartModifier property in the style
I have tree charts one after the other and only the last chart has a legend. It seems I cannot use a style with the same key multiple times.
<Style x:Key="ChartWithMyModifiers" TargetType="{x:Type s:SciChartSurface}">
<Setter Property="ChartModifier">
<Setter.Value>
<s:ModifierGroup>
<s:ZoomPanModifier ExecuteOn="MouseRightButton" ClipModeX="None" />
<s:YAxisDragModifier DragMode="Scale"/>
<s:XAxisDragModifier DragMode="Scale"/>
<s:MouseWheelZoomModifier/>
<s:ZoomExtentsModifier ExecuteOn="MouseDoubleClick" />
<s:LegendModifier ShowLegend="True"/>
</s:ModifierGroup>
</Setter.Value>
</Setter>
</Style>
The result screen is attached.
Thanks, Gabor
- László Géczi asked 1 year ago
- last active 1 year ago