Skip to content

Loading…

displayMode option in gcharts #37

Closed
wants to merge 1 commit into from

4 participants

@gaetan-sumup

No description provided.

@akoprow

Hey there,

We'd love to integrate this pull request, however in order to do so we need your contributor agreement. We'll integrate this pull request as soon as we get the signed agreement at contributor.agreement@opalang.org. Thanks!

MLstate member

Now that the library has moved to MIT license, we can gladly accept it.

@cedricss cedricss was assigned
@hbbio
MLstate member

Merged in 50dde60

@hbbio hbbio closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 16, 2012
  1. @gaetan-sumup
Showing with 5 additions and 0 deletions.
  1. +5 −0 stdlib/tools/gcharts/gcharts.opa
View
5 stdlib/tools/gcharts/gcharts.opa
@@ -189,6 +189,7 @@ type GCharts.option =
/ { series : list((int, list(GCharts.series_option))) } // (Affected series, options)
/ { legend : {left}/{right}/{top}/{bottom}/{in}/{none} }
+ / { display_mode : {markers}/{none} }
/ { region : GCharts.region }
/ { is_stacked : bool }
@@ -352,6 +353,10 @@ type GCharts.option =
| {bottom} -> ({String="bottom"})
| {in} -> ({String="in"})
| {none} -> ({String="none"}))
+ | ~{display_mode} ->
+ ("displayMode", match display_mode with
+ | {markers} -> ({String="markers"})
+ | {none} -> ({String="none"}))
| ~{region} ->
("region", match region with
| {World} -> ({String="World"})
Something went wrong with that request. Please try again.