Articles in this section
Category / Section

How to export a chart as an image?

1 min read

 

A chart can be exported to an image format by using the Command and CommandTarget properties.

The following code is used to export a chart to an image format.

XAML

<Button Content="Save" Command="{x:Static ApplicationCommands.Save}" CommandTarget="{Binding ElementName=Chart1}" Height="25" Width="100" HorizontalAlignment="Center" VerticalAlignment="Center"/>

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied