This project contains the "Visualize data with any JS library" sample from the WebSharper website.
See it running live here.
This project requires WebSharper and WebSharper.Google.Visualization, and it is configured to fetch these dependencies automatically.
You can recreate this project in Visual Studio, Xamarin Studio or CloudSharper by following these steps:
- Create a new WebSharper Single-Page Application project.
- Add a Nuget reference to
WebSharper.Google.Visualization
. - Open
Client.fs
and replace its contents with the contents ofClient.fs
from this repository. - Add an entry point "
<div id="main"></div>
" toindex.html
in the body tag before the<script>
link.
Enjoy!