Skip to content

Commit

Permalink
Add displayMode options in gcharts for geo_chart
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetan-sumup committed Feb 16, 2012
1 parent e69e133 commit ec96844
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions stdlib/tools/gcharts/gcharts.opa
Expand Up @@ -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 }

Expand Down Expand Up @@ -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"})
Expand Down

2 comments on commit ec96844

@akoprow
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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!

@hbbio
Copy link

@hbbio hbbio commented on ec96844 Dec 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.