We are often asked if there is a built-in way to save a Visiblox Chart as an image file. Unfortunately, at the time of writing, the answer to this is no. However, it doesn't take too much code to make it possible and this blog post is going to describe the steps involved.
WPF vs Silverlight
This post focuses on the Silverlight solution, which is more complex and requires the use of third party classes. The source code for this post, which can be downloaded
here, contains both Silverlight and WPF solutions to saving a chart as an image. If you look at this source, you will see that the WPF solution is a lot simpler, with all the functionality in one place and no external classes required.
Chart Interaction
There are a number of ways to enable the save functionality on a chart; the most common being a Save As Image context menu. Using this approach required the use of the premium version of Visiblox Charts which allows us to disable the default context menu behaviour.