Skip to content

Instantly share code, notes, and snippets.

@TahaHachana
Last active August 29, 2015 14:07
Show Gist options
  • Save TahaHachana/a272c947396e3c67ddf4 to your computer and use it in GitHub Desktop.
Save TahaHachana/a272c947396e3c67ddf4 to your computer and use it in GitHub Desktop.
#load "../packages/XPlot.GoogleCharts.1.0.1/XPlot.GoogleCharts.fsx"
open XPlot.GoogleCharts
let options =
Options(
title = "Age vs. Weight comparison",
hAxis = Axis(title = "Age", minValue = 0, maxValue = 15),
vAxis = Axis(title = "Weight", minValue = 0, maxValue = 15)
)
let chart =
[8., 12.; 4., 5.5; 11., 14.; 4., 5.; 3., 3.5; 6.5, 7.]
|> Chart.Scatter
|> Chart.WithOptions options
|> Chart.Show
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment