Chart controls for "C#/XAML for HTML5" based on the "Plotly.js" library
C#
Switch branches/tags
Nothing to show
Clone or download

README.md

CSHTML5.Extensions.Plotly

Chart controls for "C#/XAML for HTML5" based on the "Plotly.js" library

INTRODUCTION

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

GETTING STARTED:

  1. Make sure that you have the latest version of "C#/XAML for HTML5" installed. You can download it from: http://www.cshtml5.com

  2. 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".

  3. Extract the downloaded file into a folder on your computer.

  4. Open the Visual Studio solution by double-clicking the file "CSHTML5.Extensions.Plotly.sln".

  5. 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"

  6. Run the project by clicking "Start" or pressing F5.

  7. 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.

LICENSE:

This project is licensed under The open-source MIT license: https://opensource.org/licenses/MIT

Copyright 2017 Userware / CSHTML5 (C#/XAML for HTML5)

HOW IS IT IMPLEMENTED?

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

WHERE CAN I FIND THE DOCUMENTATION OF THE PLOTLY LIBRARY?

Documentation of the JavaScript Plotly library can be found at: