Skip to content

Instantly share code, notes, and snippets.

@diegoeche
Created December 15, 2009 21:03
Show Gist options
  • Save diegoeche/257300 to your computer and use it in GitHub Desktop.
Save diegoeche/257300 to your computer and use it in GitHub Desktop.
/// The color of the axis.
/// Possible values are as those of the <a href="#backgroundColor">backgroundColor</a> configuration option.
/// Default Value: default color
axisColor : obj(*string or Object*)
/// The border around axis background.
/// Possible values are as those of the <a href="#backgroundColor">backgroundColor</a> configuration option.
/// Default Value: default color
axisBackgroundColor : obj(*string or Object*)
/// Font size of the chart axis text, in pixels.
/// Default Value: automatic
axisFontSize : float
/// The background color for the main area of the chart.
/// May be one of the following options:
/// <ul>
/// <li>A string with color supported by HTML, for example 'red' or '#00cc00'</li>
/// <li>An object with properties <code>stroke</code> <code>fill</code> and <code>strokeSize</code>.
/// <code>stroke</code> and <code>fill</code> should be a string with a color. strokeSize is a number.
/// For example: <code>{backgroundColor: {stroke:'black', fill:'#eee', strokeSize: 1}</code>.
/// To use just fill, without a stroke, use <code>stroke:null, strokeSize: 0</code>.</li>
/// </ul>
/// Default Value: default color
<a name="backgroundColor"/>backgroundColor : obj(*string or Object*)
/// The border around chart elements.
/// Possible values are as those of the <a href="#backgroundColor">backgroundColor</a> configuration option.
/// Default Value: default color
borderColor : obj(*string or Object*)
/// The colors to use for the chart elements.
/// An array of strings. Each element is a string that is a color supported by HTML,
/// for example 'red' or '#00cc00'.
/// Default Value: Default colors
colors : obj(*Array of strings*)
/// If set to true, tooltips are shown when the user clicks on a data point.
/// Default Value: true
enableTooltip : bool
/// The border around chart elements that are in focus (pointed by the mouse).
/// Possible values are as those of the <a href="#backgroundColor">backgroundColor</a> configuration option.
/// Default Value: default color
focusBorderColor : obj(*string or Object*)
/// Height of the chart in pixels.
/// Default Value: Container's height
height : float
/// If set to true, line values are stacked (accumulated).
/// Default Value: false
isStacked : bool
/// Position and type of legend. Can be one of the following:
/// <ul>
/// <li>'right' - To the right of the chart.</li>
/// <li>'left' - To the left of the chart.</li>
/// <li>'top' - Above the chart.</li>
/// <li>'bottom' - Below the chart.</li>
/// <li>'none' - No legend is displayed.</li>
/// </ul>
/// Default Value: 'right'
legend : obj(*string*)
/// The background color for the legend area of the chart.
/// Possible values are as those of the <a href="#backgroundColor">backgroundColor</a> configuration option.
/// Default Value: default color
legendBackgroundColor : obj(*string or Object*)
/// The size of the legend font, in pixels.
/// Default Value: automatic
legendFontSize : float
/// The color for the text entries of the legend.
/// Possible values are as those of the <a href="#backgroundColor">backgroundColor</a> configuration option.
/// Default Value: default color
legendTextColor : obj(*string or Object*)
/// Line width in pixels. Use zero to hide all lines and show only the points.
/// Default Value: 2
lineSize : float
/// If true, the main axis should be scaled logarithmically.
/// Default Value: false
logScale : bool
/// Specifies the highest Y axis grid line. The actual grid line will be the
/// greater of two values: the max option value, or the highest data value, rounded
/// up to the next higher grid mark.
/// Default Value: automatic
max : float
/// Specifies the lowest Y axis grid line. The actual grid line will be the lower
/// of two values: the min option value, or the lowest data value, rounded down
/// to the next lower grid mark.
/// Default Value: automatic
min : float
/// Size of displayed points in pixels. Use zero to hide all points.
/// Default Value: 3
pointSize : float
/// If set to true, will draw categories from right to left. The default is to draw left-to-right.
/// Default Value: false
reverseAxis : bool
/// If true, will show category labels. If false, will not.
/// Default Value: true
showCategories : bool
/// Text to display above the chart.
/// Default Value: no title
title : obj(*string*)
/// Text to display below the horizontal axis.
/// Default Value: no title
titleX : obj(*string*)
/// Text to display by the vertical axis.
/// Default Value: no title
titleY : obj(*string*)
/// The color for the chart's title.
/// Possible values are as those of the <a href="#backgroundColor">backgroundColor</a> configuration option.
/// Default Value: default color
titleColor : obj(*string or Object*)
/// The font size for the chart title, in pixels.
/// Default Value: automatic
titleFontSize : float
/// The font size of the tooltip text. This might be reduced, if the tooltip
/// is too small to hold the text in the specified font.
/// Default Value: 11
<span dir="ltr" id=":2w7"><br/>
tooltipFontSize</span> : float
/// The height of the tooltip, in pixels. The tooltip height is fixed; it will
/// never grow or shrink to fit the length or font size of the text. But
/// anything greater than 1/3 the chart height will be cropped.
/// Default Value: 60
tooltipHeight<br/> : float
/// The width of the tooltip, in pixels. The tooltip width is fixed; it will
/// never grow or shrink to fit the length or font size of the text. But
/// anything greater than the chart width
/// will be cropped.
/// Default Value: 120
tooltipWidth : float
/// Width of the chart in pixels.
/// Default Value: Container's width
width : float
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment