BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Dear Customer,
Thank you for using Syncfusion products.
We have analysed the reported requirement. You can achieve your requirement by setting the custom panel in legend items panel.
Code snippet [XAML]:
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
<chart:ChartLegend.ItemsPanel>
<ItemsPanelTemplate>
<toolkit:WrapPanel Orientation="Horizontal" />
</ItemsPanelTemplate>
</chart:ChartLegend.ItemsPanel>
Note: please install the windows phone toolkit in your machine , then only we can use the wrap panel. Please follow instruction for installation in provided link:
Please let us know if you require further assistance on this.
Thanks,
Karthikeyan V.
Dear customer,
Thanks for the update.
We have analysed the report requirement. You can achieve by setting the Interior property in each series and this interior property reflect to legend also.
Code snippet [XAML]:
<chart:FastLineBitmapSeries Interior="Green" />
<chart:FastLineBitmapSeries Interior="Blue" />
Please let us know if you require further assistance on this.
Thanks,
Karthikeyan V.
Dear customer,
We can also able to achieve this requirement with help of ColorModel property in SfChart. Please find the code snippet about this.
Code Snippet [XAML]:
<chart:SfChart Palette="Custom" ">
<chart:SfChart.ColorModel>
<chart:ChartColorModel>
<chart:ChartColorModel.CustomBrushes>
<SolidColorBrush Color="#F02B2C"/>
<SolidColorBrush Color="#FF3B5C"/>
<SolidColorBrush Color="#F16B3C"/>
<SolidColorBrush Color="#FF6B6C"/>
<SolidColorBrush Color="#F0FB8C"/>
<SolidColorBrush Color="#F02B2C"/>
<SolidColorBrush Color="#FF3B5C"/>
<SolidColorBrush Color="#F36B3C"/>
<SolidColorBrush Color="#F4FB6C"/>
<SolidColorBrush Color="#F56B8C"/>
</chart:ChartColorModel.CustomBrushes>
</chart:ChartColorModel>
</chart:SfChart.ColorModel>
Please let us know if you require further assistance on this.
Thanks,
Karthikeyan V.