Chart controls for "C#/XAML for HTML5" based on the "Plotly.js" library
This is an open-source extension for "C#/XAML for HTML5" that provides chart controls based on the open-source "Plotly.js" library.
"C#/XAML for HTML5" - also known as "CSHTML5" - is a Visual Studio tool that enables developers to create cross-platform HTML5 applications using only C# and XAML. It can be downloaded from: http://www.cshtml5.com
To be able to compile this project using Visual Studio, you need to download and install the latest version of "C#/XAML for HTML5", available from: http://www.cshtml5.com
-
Make sure that you have the latest version of "C#/XAML for HTML5" installed. You can download it from: http://www.cshtml5.com
-
Scroll to the top of this page (the GitHub root page for this project), click the green button "Clone or Download", and then click "Download ZIP".
-
Extract the downloaded file into a folder on your computer.
-
Open the Visual Studio solution by double-clicking the file "CSHTML5.Extensions.Plotly.sln".
-
Set "Examples" as the startup project. To do so, right-click the "Examples" project in the Solution Explorer, and then click "Set as StartUp Project"
-
Run the project by clicking "Start" or pressing F5.
-
If you get a message that says that you need the "Professional Edition", click "Start the free 60-day trial", and then run the project again by clicking "Start" or pressing F5.
This project is licensed under The open-source MIT license: https://opensource.org/licenses/MIT
Copyright 2017 Userware / CSHTML5 (C#/XAML for HTML5)
It is implemented using a C#-based wrapper around the JavaScript library "Plotly.js". With such a "wrapper", it is possible to use the JavaScript library directly from C#, as if it was a C# library.
Documentation of this concept of "wrapper" can be found at: http://cshtml5.com/links/how-to-create-extensions.aspx and http://cshtml5.com/links/how-to-call-javascript.aspx
Documentation of the JavaScript Plotly library can be found at:
- Plotly API Reference: https://plot.ly/javascript/reference/
- Plotly JS samples: https://plot.ly/javascript/#basic-charts