Last active
August 29, 2015 14:07
-
-
Save TahaHachana/734c913a859cadca6387 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#load "../packages/XPlot.GoogleCharts.1.0.1/XPlot.GoogleCharts.fsx" | |
open XPlot.GoogleCharts | |
let options = | |
Options( | |
title = "The decline of 'The 39 Steps'", | |
vAxis = Axis(title = "Accumulated Rating"), | |
isStacked = true | |
) | |
let chart = | |
[ | |
[ | |
"Alfred Hitchcock (1935)", 8.4 | |
"Ralph Thomas (1959)", 6.9 | |
"Don Sharp (1978)", 6.5 | |
"James Hawes (2008)", 4.4 | |
] | |
[ | |
"Alfred Hitchcock (1935)", 7.9 | |
"Ralph Thomas (1959)", 6.5 | |
"Don Sharp (1978)", 6.4 | |
"James Hawes (2008)", 6.2 | |
] | |
] | |
|> Chart.SteppedArea | |
|> Chart.WithOptions options | |
|> Chart.WithLabels ["Rotten Tomatoes"; "IMDB"] | |
|> Chart.WithLegend true | |
|> Chart.Show |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment