Open BSick7 opened 8 years ago
@JigsSodvadiya
Hi,
1) How we can change line Color in Change "Fayde.DataVis".
dv:CartesianChart.YAxis
Every Series (the base of LineSeries) has a SeriesPresenter (LineSeriesPresenter). The LineSeriesPresenter allows you to set the LineStyle.
@JigsSodvadiya
Hi, Thanks Dear. When I set Style Globally than it work but when I set style to particular series than Fayde crash. ::Style Code are Below::
<Style x:Key="LineSeries_QuotePrice" TargetType="dv:LineSeriesPresenter">
<Setter Property="LineStyle">
<Setter.Value>
<Style TargetType="Polyline">
<Setter Property="Stroke" Value="Red" />
<Setter Property="StrokeThickness" Value="1" />
</Style>
</Setter.Value>
</Setter>
</Style>
:: Code for Line Series::
<dv:LineSeries ItemsSource="{Binding ProductBid_ChartData}" IndependentValuePath="Category" DependentValuePath="Value_LivePrice">
<dv:LineSeriesPresenter LineStyle="{StaticResource LineSeries_QuotePrice}"/>
</dv:LineSeries>
Please guide me.
You are setting the LineStyle
to a style for LineSeriesPresenter
.
You should either
or
or
Hi dear,
Can you provide small code for LineStyle in Chart?
Moving here from https://github.com/wsick/Fayde/issues/241