You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a stacked bar chart with dynamic series - where each series relates to a specific color - how do I bind the color of the series bars to the ColorCount.Color?
each series is a ColorCount:
public sealed class ColorCount
{
public Color Color {get;set;}
public IEnumerable Count {get;set;}
I have a stacked bar chart with dynamic series - where each series relates to a specific color - how do I bind the color of the series bars to the ColorCount.Color?
each series is a ColorCount:
public sealed class ColorCount
{
public Color Color {get;set;}
public IEnumerable Count {get;set;}
<chart:RadCartesianChart x:Name="Chart"> <chart:RadCartesianChart.SeriesProvider> <chart:ChartSeriesProvider Source="{Binding Colors, Mode=OneWay}" x:Name="Provider" > <chart:ChartSeriesProvider.SeriesDescriptors> <chart:CategoricalSeriesDescriptor ItemsSourcePath="Count" CategoryPath="Time" ValuePath="Count"> <chart:CategoricalSeriesDescriptor.Style> <Style TargetType="chart:BarSeries"> <Setter Property="CombineMode" Value="Stack"/> </Style> </chart:CategoricalSeriesDescriptor.Style> </chart:CategoricalSeriesDescriptor> </chart:ChartSeriesProvider.SeriesDescriptors> </chart:ChartSeriesProvider> </chart:RadCartesianChart.SeriesProvider> <chart:RadCartesianChart.HorizontalAxis> <chart:CategoricalAxis/> </chart:RadCartesianChart.HorizontalAxis> <chart:RadCartesianChart.VerticalAxis> <chart:LinearAxis/> </chart:RadCartesianChart.VerticalAxis> </chart:RadCartesianChart>
The text was updated successfully, but these errors were encountered: