Posted 6 May 2021, 7:35 am EST - Updated 29 September 2022, 9:50 am EST
LineChart not changing color
Posted by: ehh on 6 May 2021, 7:35 am EST
-
-
Posted 9 May 2021, 11:58 pm EST
Hi,
When the ChartType is Line/LineSymbols, the line gets drawn and color is set using the stroke property. Please refer to the following code snippet:<FlexChart ItemsSource="forecasts"ChartType="ChartType.LineSymbols" BindingX="Date" Binding="TemperatureC"> <SeriesCollection> <Series Binding="TemperatureC" Style="@("stroke:rgb(44,177,185);fill:rgb(44,177,190);")"></Series> </SeriesCollection> </FlexChart>
Hope it helps!
Regards,
Manish Gupta -
Posted 11 May 2021, 3:04 am EST
That did it! Thanks