Skip to content

Instantly share code, notes, and snippets.

@diegoeche
Created December 15, 2009 23:45
Show Gist options
  • Save diegoeche/257415 to your computer and use it in GitHub Desktop.
Save diegoeche/257415 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*)
/// <p>An array of colors, where each element specifies the color of one series.
/// You should specify one array element for each series.</p>
/// <ul>
/// <li>If <code>is3D=false</code>, this is an array of HTML colors. Example:
/// colors:['00FF00','orange']</li>
/// <li>If <code>is3D=true</code>, this is an array of either HTML colors, or
/// objects of this type: <code>{color:<em>face_color</em>, darker:<em>shade_color</em>}</code> where <code>color</code> is
/// the element's face color, and <code>darker</code> is the shade color.
/// However, if you specify an HTML color for a 3D object, face and shade will
/// be the same color, and the 3D effect will be reduced. Example: <code>{is3D:true,
/// colors:[{color:'FF0000', darker:'680000'}, {color:'cyan', darker:'deepskyblue'}]}</code></li>
/// </ul>
/// Default Value: Default colors
colors : obj(*Array of strings or objects*)
/// If set to true, tooltips are shown when the user clicks on a column.
/// 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, displays a three-dimensional change.
/// Default Value: false
is3D : bool
/// 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 : 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*)
/// 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
/// 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 : string
/// Text to display below the horizontal axis.
/// Default Value: no title
titleX : string
/// Text to display by the vertical axis.
/// Default Value: no title
titleY : 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