Created
December 2, 2014 06:37
-
-
Save fvbock/94da42d71af8b702cad6 to your computer and use it in GitHub Desktop.
geckoboard highcharts payload
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
type HighChart struct { | |
Chart struct { | |
Style struct { | |
Color string `json:"color,omitempty"` | |
} `json:"style,omitempty"` | |
RenderTo string `json:"renderTo,omitempty"` | |
BackgroundColor string `json:"backgroundColor,omitempty"` | |
LineColor string `json:"lineColor,omitempty"` | |
PlotShadpw bool `json:"plotShadow,omitempty"` | |
} `json:"chart,omitempty"` | |
Credits struct { | |
Enabled bool `json:"enabled,omitempty"` | |
} `json:"enabled,omitempty"` | |
Title struct { | |
Style struct { | |
Color string `json:"color,omitempty"` | |
} `json:"style,omitempty"` | |
Text string `json:"text,omitempty"` | |
} `title` | |
XAxis struct { | |
Categories []string `json:"categories,omitempty"` | |
} `json:"xAxis,omitempty"` | |
YAxis struct { | |
Title struct { | |
Style struct { | |
Color string `json:"color,omitempty"` | |
} `json:"style,omitempty"` | |
Text string `json:"text,omitempty"` | |
} `title` | |
} `json:"xAxis,omitempty"` | |
Legend struct { | |
ItemStyle struct { | |
Color string `json:"color,omitempty"` | |
} `json:"itemStyle,omitempty"` | |
Layout string `json:"layout,omitempty"` | |
Align string `json:"align,omitempty"` | |
VerticalAlign string `json:"verticalAlign,omitempty"` | |
BorderWidth int `json:"borderWidth,omitempty"` | |
} `json:"legend,omitempty"` | |
Series []*HighChartSeries `json:"series,omitempty"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment