| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties Structures Enumerations Style examples Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Methods > RenderXaml Method SharpPlot.RenderXaml MethodThis method returns the chart expressed as a XAML Canvas, with optional scaling. The default scale converts points to pixels at 96/72 and will produce the same size image as the chart rendered to SVG. The chart can be viewed on the web in most common browsers with the SilverLight plugin. Examplestring xaml = sp.RenderXaml(1.5); // Save as bare Canvas slightly scaled up Overloads
DescriptionTo make use of this format on the internet, you will need the SilverLight plugin from Microsoft, and an appropriate ‘wrapper’ HTML page to load the plugin and render the XAML content. Your page should reference the See also ...SharpPlot Members | SaveXaml Method | The SilverLight Plugin |