include/lib/jqplot/docs/files/jqplot-core-js.html
(开头部分) 206KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>jqPlot Charts</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.4 -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
<div id=Content><div class="CSection"><div class=CTopic id=MainTopic><div class="CTitle logo"><div class="nav"><a class="nav" href="../../index.php"><span>></span>Home</a><a class="nav" href="../../tests/"><span>></span>Examples</a><a class="nav" href="../../docs/"><span>></span>Docs</a><a class="nav" href="http://bitbucket.org/cleonello/jqplot/downloads/"><span>></span>Download</a><a class="nav" href="../../info.php"><span>></span>Info</a><a class="nav" href="../../donate.php"><span>></span>Donate</a></div><a name="jqPlot_Charts"></a>jqPlot Charts</div><div class=CBody><p>Pure JavaScript plotting plugin for jQuery.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#jqPlot_Charts" >jqPlot Charts</a></td><td class=SDescription>Pure JavaScript plotting plugin for jQuery.</td></tr><tr class="SGeneric SIndent1 SMarked"><td class=SEntry><a href="#Version" >Version</a></td><td class=SDescription>version: 1.0.3 revision: 1117</td></tr><tr class="SGeneric SIndent1"><td class=SEntry><a href="#CopyrightLicense" >Copyright & License</a></td><td class=SDescription>Copyright © 2009-2012 Chris Leonello jqPlot is currently available for use in all personal or commercial projects under both the MIT and GPL version 2.0 licenses. </td></tr><tr class="SGeneric SIndent1 SMarked"><td class=SEntry><a href="#Introduction" >Introduction</a></td><td class=SDescription>jqPlot requires jQuery (1.4+ required for certain features). </td></tr><tr class="SGeneric SIndent1"><td class=SEntry><a href="#Usage" >Usage</a></td><td class=SDescription>See <a href="usage-txt.html#jqPlot_Usage" class=LSection >jqPlot Usage</a></td></tr><tr class="SGeneric SIndent1 SMarked"><td class=SEntry><a href="#Available_Options" >Available Options</a></td><td class=SDescription>See <a href="jqPlotOptions-txt.html#jqPlot_Options" class=LSection id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">jqPlot Options</a> for a list of options available thorugh the options object (not complete yet!)</td></tr><tr class="SGeneric SIndent1"><td class=SEntry><a href="#Options_Usage" >Options Usage</a></td><td class=SDescription>See <a href="optionsTutorial-txt.html#Options_Tutorial" class=LSection id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">Options Tutorial</a></td></tr><tr class="SGeneric SIndent1 SMarked"><td class=SEntry><a href="#Changes" >Changes</a></td><td class=SDescription>See <a href="changes-txt.html#Change_Log" class=LSection >Change Log</a></td></tr><tr class="SClass"><td class=SEntry><a href="#$.jqplot" >$.jqplot</a></td><td class=SDescription>jQuery function called by the user to create a plot.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#$.jqplot.Hooks" >Hooks</a></td><td class=SDescription></td></tr><tr class="SHook SIndent2 SMarked"><td class=SEntry><a href="#$.jqplot.jqPlot_Pugin_Hooks" >jqPlot Pugin Hooks</a></td><td class=SDescription></td></tr><tr class="SClass"><td class=SEntry><a href="#Axis" >Axis</a></td><td class=SDescription>An individual axis object. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Axis.Properties" >Properties</a></td><td class=SDescription>Axes options are specified within an axes object at the top level of the plot options like so:</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.show" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">show</a></td><td class=SDescription>Wether to display the axis on the graph.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.tickRenderer" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">tickRenderer</a></td><td class=SDescription>A class of a rendering engine for creating the ticks labels displayed on the plot, See <a href="jqplot-axisTickRenderer-js.html#$.jqplot.AxisTickRenderer" class=LClass id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">$.jqplot.AxisTickRenderer</a>.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.tickOptions" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">tickOptions</a></td><td class=SDescription>Options that will be passed to the tickRenderer, see <a href="jqplot-axisTickRenderer-js.html#$.jqplot.AxisTickRenderer" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt5', 'link7')" onMouseOut="HideTip('tt5')">$.jqplot.AxisTickRenderer</a> options.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.labelRenderer" id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">labelRenderer</a></td><td class=SDescription>A class of a rendering engine for creating an axis label.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.labelOptions" id=link9 onMouseOver="ShowTip(event, 'tt8', 'link9')" onMouseOut="HideTip('tt8')">labelOptions</a></td><td class=SDescription>Options passed to the label renderer.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.label" id=link10 onMouseOver="ShowTip(event, 'tt9', 'link10')" onMouseOut="HideTip('tt9')">label</a></td><td class=SDescription>Label for the axis</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.showLabel" id=link11 onMouseOver="ShowTip(event, 'tt10', 'link11')" onMouseOut="HideTip('tt10')">showLabel</a></td><td class=SDescription>true to show the axis label.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.min" id=link12 onMouseOver="ShowTip(event, 'tt11', 'link12')" onMouseOut="HideTip('tt11')">min</a></td><td class=SDescription>minimum value of the axis (in data units, not pixels).</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.max" id=link13 onMouseOver="ShowTip(event, 'tt12', 'link13')" onMouseOut="HideTip('tt12')">max</a></td><td class=SDescription>maximum value of the axis (in data units, not pixels).</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.autoscale" id=link14 onMouseOver="ShowTip(event, 'tt13', 'link14')" onMouseOut="HideTip('tt13')">autoscale</a></td><td class=SDescription>DEPRECATED the default scaling algorithm produces superior results.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.pad" id=link15 onMouseOver="ShowTip(event, 'tt14', 'link15')" onMouseOut="HideTip('tt14')">pad</a></td><td class=SDescription>Padding to extend the range above and below the data bounds. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.padMax" id=link16 onMouseOver="ShowTip(event, 'tt15', 'link16')" onMouseOut="HideTip('tt15')">padMax</a></td><td class=SDescription>Padding to extend the range above data bounds. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.padMin" id=link17 onMouseOver="ShowTip(event, 'tt16', 'link17')" onMouseOut="HideTip('tt16')">padMin</a></td><td class=SDescription>Padding to extend the range below data bounds. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.ticks" id=link18 onMouseOver="ShowTip(event, 'tt17', 'link18')" onMouseOut="HideTip('tt17')">ticks</a></td><td class=SDescription>1D [val, val, ...] or 2D [[val, label], [val, label], ...] array of ticks for the axis. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.numberTicks" id=link19 onMouseOver="ShowTip(event, 'tt18', 'link19')" onMouseOut="HideTip('tt18')">numberTicks</a></td><td class=SDescription>Desired number of ticks. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.tickInterval" id=link20 onMouseOver="ShowTip(event, 'tt19', 'link20')" onMouseOut="HideTip('tt19')">tickInterval</a></td><td class=SDescription>number of units between ticks. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.renderer" id=link21 onMouseOver="ShowTip(event, 'tt20', 'link21')" onMouseOut="HideTip('tt20')">renderer</a></td><td class=SDescription>A class of a rendering engine that handles tick generation, scaling input data to pixel grid units and drawing the axis element.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.rendererOptions" id=link22 onMouseOver="ShowTip(event, 'tt21', 'link22')" onMouseOut="HideTip('tt21')">rendererOptions</a></td><td class=SDescription>renderer specific options. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.showTicks" id=link23 onMouseOver="ShowTip(event, 'tt22', 'link23')" onMouseOut="HideTip('tt22')">showTicks</a></td><td class=SDescription>Wether to show the ticks (both marks and labels) or not. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.showTickMarks" id=link24 onMouseOver="ShowTip(event, 'tt23', 'link24')" onMouseOut="HideTip('tt23')">showTickMarks</a></td><td class=SDescription>Wether to show the tick marks (line crossing grid) or not. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.showMinorTicks" id=link25 onMouseOver="ShowTip(event, 'tt24', 'link25')" onMouseOut="HideTip('tt24')">showMinorTicks</a></td><td class=SDescription>Wether or not to show minor ticks. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.drawMajorGridlines" id=link26 onMouseOver="ShowTip(event, 'tt25', 'link26')" onMouseOut="HideTip('tt25')">drawMajorGridlines</a></td><td class=SDescription>True to draw gridlines for major axis ticks.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.drawMinorGridlines" id=link27 onMouseOver="ShowTip(event, 'tt26', 'link27')" onMouseOut="HideTip('tt26')">drawMinorGridlines</a></td><td class=SDescription>True to draw gridlines for minor ticks.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.drawMajorTickMarks" id=link28 onMouseOver="ShowTip(event, 'tt27', 'link28')" onMouseOut="HideTip('tt27')">drawMajorTickMarks</a></td><td class=SDescription>True to draw tick marks for major axis ticks.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.drawMinorTickMarks" id=link29 onMouseOver="ShowTip(event, 'tt28', 'link29')" onMouseOut="HideTip('tt28')">drawMinorTickMarks</a></td><td class=SDescription>True to draw tick marks for minor ticks. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.useSeriesColor" id=link30 onMouseOver="ShowTip(event, 'tt29', 'link30')" onMouseOut="HideTip('tt29')">useSeriesColor</a></td><td class=SDescription>Use the color of the first series associated with this axis for the tick marks and line bordering this axis.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.borderWidth" id=link31 onMouseOver="ShowTip(event, 'tt30', 'link31')" onMouseOut="HideTip('tt30')">borderWidth</a></td><td class=SDescription>width of line stroked at the border of the axis. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.borderColor" id=link32 onMouseOver="ShowTip(event, 'tt31', 'link32')" onMouseOut="HideTip('tt31')">borderColor</a></td><td class=SDescription>color of the border adjacent to the axis. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.scaleToHiddenSeries" id=link33 onMouseOver="ShowTip(event, 'tt32', 'link33')" onMouseOut="HideTip('tt32')">scaleToHiddenSeries</a></td><td class=SDescription>True to include hidden series when computing axes bounds and scaling.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Axis.syncTicks" id=link34 onMouseOver="ShowTip(event, 'tt33', 'link34')" onMouseOut="HideTip('tt33')">syncTicks</a></td><td class=SDescription>true to try and synchronize tick spacing across multiple axes so that ticks and grid lines line up. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Axis.tickSpacing" id=link35 onMouseOver="ShowTip(event, 'tt34', 'link35')" onMouseOut="HideTip('tt34')">tickSpacing</a></td><td class=SDescription>Approximate pixel spacing between ticks on graph. </td></tr><tr class="SClass"><td class=SEntry><a href="#Legend" >Legend</a></td><td class=SDescription>Legend object. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Legend.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Legend.show" id=link36 onMouseOver="ShowTip(event, 'tt35', 'link36')" onMouseOut="HideTip('tt35')">show</a></td><td class=SDescription>Wether to display the legend on the graph.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Legend.location" id=link37 onMouseOver="ShowTip(event, 'tt36', 'link37')" onMouseOut="HideTip('tt36')">location</a></td><td class=SDescription>Placement of the legend. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Legend.labels" id=link38 onMouseOver="ShowTip(event, 'tt37', 'link38')" onMouseOut="HideTip('tt37')">labels</a></td><td class=SDescription>Array of labels to use. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Legend.showLabels" id=link39 onMouseOver="ShowTip(event, 'tt38', 'link39')" onMouseOut="HideTip('tt38')">showLabels</a></td><td class=SDescription>true to show the label text on the legend.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Legend.showSwatch" id=link40 onMouseOver="ShowTip(event, 'tt39', 'link40')" onMouseOut="HideTip('tt39')">showSwatch</a></td><td class=SDescription>true to show the color swatches on the legend.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Legend.placement" id=link41 onMouseOver="ShowTip(event, 'tt40', 'link41')" onMouseOut="HideTip('tt40')">placement</a></td><td class=SDescription>“insideGrid” places legend inside the grid area of the plot. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Legend.xoffset" id=link42 onMouseOver="ShowTip(event, 'tt41', 'link42')" onMouseOut="HideTip('tt41')">xoffset</a></td><td class=SDescription>DEPRECATED. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Legend.yoffset" id=link43 onMouseOver="ShowTip(event, 'tt42', 'link43')" onMouseOut="HideTip('tt42')">yoffset</a></td><td class=SDescription>DEPRECATED. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Legend.border" id=link44 onMouseOver="ShowTip(event, 'tt43', 'link44')" onMouseOut="HideTip('tt43')">border</a></td><td class=SDescription>css spec for the border around the legend box.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Legend.background" id=link45 onMouseOver="ShowTip(event, 'tt44', 'link45')" onMouseOut="HideTip('tt44')">background</a></td><td class=SDescription>css spec for the background of the legend box.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Legend.textColor" id=link46 onMouseOver="ShowTip(event, 'tt45', 'link46')" onMouseOut="HideTip('tt45')">textColor</a></td><td class=SDescription>css color spec for the legend text.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Legend.fontFamily" id=link47 onMouseOver="ShowTip(event, 'tt46', 'link47')" onMouseOut="HideTip('tt46')">fontFamily</a></td><td class=SDescription>css font-family spec for the legend text.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Legend.fontSize" id=link48 onMouseOver="ShowTip(event, 'tt47', 'link48')" onMouseOut="HideTip('tt47')">fontSize</a></td><td class=SDescription>css font-size spec for the legend text.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Legend.rowSpacing" id=link49 onMouseOver="ShowTip(event, 'tt48', 'link49')" onMouseOut="HideTip('tt48')">rowSpacing</a></td><td class=SDescription>css padding-top spec for the rows in the legend.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Legend.rendererOptions" id=link50 onMouseOver="ShowTip(event, 'tt49', 'link50')" onMouseOut="HideTip('tt49')">rendererOptions</a></td><td class=SDescription>renderer specific options passed to the renderer.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Legend.predraw" >predraw</a></td><td class=SDescription>Wether to draw the legend before the series or not. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Legend.marginTop" id=link51 onMouseOver="ShowTip(event, 'tt50', 'link51')" onMouseOut="HideTip('tt50')">marginTop</a></td><td class=SDescription>CSS margin for the legend DOM element. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Legend.marginRight" id=link52 onMouseOver="ShowTip(event, 'tt51', 'link52')" onMouseOut="HideTip('tt51')">marginRight</a></td><td class=SDescription>CSS margin for the legend DOM element. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Legend.marginBottom" id=link53 onMouseOver="ShowTip(event, 'tt52', 'link53')" onMouseOut="HideTip('tt52')">marginBottom</a></td><td class=SDescription>CSS margin for the legend DOM element. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Legend.marginLeft" id=link54 onMouseOver="ShowTip(event, 'tt53', 'link54')" onMouseOut="HideTip('tt53')">marginLeft</a></td><td class=SDescription>CSS margin for the legend DOM element. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Legend.escapeHtml" id=link55 onMouseOver="ShowTip(event, 'tt54', 'link55')" onMouseOut="HideTip('tt54')">escapeHtml</a></td><td class=SDescription>True to escape special characters with their html entity equivalents in legend text. </td></tr><tr class="SClass"><td class=SEntry><a href="#Title" >Title</a></td><td class=SDescription>Plot Title object. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Title.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Title.text" id=link56 onMouseOver="ShowTip(event, 'tt55', 'link56')" onMouseOut="HideTip('tt55')">text</a></td><td class=SDescription>text of the title;</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Title.show" id=link57 onMouseOver="ShowTip(event, 'tt56', 'link57')" onMouseOut="HideTip('tt56')">show</a></td><td class=SDescription>wether or not to show the title</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Title.fontFamily" id=link58 onMouseOver="ShowTip(event, 'tt57', 'link58')" onMouseOut="HideTip('tt57')">fontFamily</a></td><td class=SDescription>css font-family spec for the text.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Title.fontSize" id=link59 onMouseOver="ShowTip(event, 'tt58', 'link59')" onMouseOut="HideTip('tt58')">fontSize</a></td><td class=SDescription>css font-size spec for the text.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Title.textAlign" id=link60 onMouseOver="ShowTip(event, 'tt59', 'link60')" onMouseOut="HideTip('tt59')">textAlign</a></td><td class=SDescription>css text-align spec for the text.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Title.textColor" id=link61 onMouseOver="ShowTip(event, 'tt60', 'link61')" onMouseOut="HideTip('tt60')">textColor</a></td><td class=SDescription>css color spec for the text.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Title.renderer" id=link62 onMouseOver="ShowTip(event, 'tt61', 'link62')" onMouseOut="HideTip('tt61')">renderer</a></td><td class=SDescription>A class for creating a DOM element for the title, see <a href="jqplot-divTitleRenderer-js.html#$.jqplot.DivTitleRenderer" class=LClass id=link63 onMouseOver="ShowTip(event, 'tt62', 'link63')" onMouseOut="HideTip('tt62')">$.jqplot.DivTitleRenderer</a>.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Title.rendererOptions" id=link64 onMouseOver="ShowTip(event, 'tt63', 'link64')" onMouseOut="HideTip('tt63')">rendererOptions</a></td><td class=SDescription>renderer specific options passed to the renderer.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Title.escapeHtml" id=link65 onMouseOver="ShowTip(event, 'tt64', 'link65')" onMouseOut="HideTip('tt64')">escapeHtml</a></td><td class=SDescription>True to escape special characters with their html entity equivalents in title text. </td></tr><tr class="SClass"><td class=SEntry><a href="#Series" >Series</a></td><td class=SDescription>An individual data series object. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Series.Properties" >Properties</a></td><td class=SDescription>Properties will be assigned from a series array at the top level of the options. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.show" id=link66 onMouseOver="ShowTip(event, 'tt65', 'link66')" onMouseOut="HideTip('tt65')">show</a></td><td class=SDescription>wether or not to draw the series.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.xaxis" id=link67 onMouseOver="ShowTip(event, 'tt66', 'link67')" onMouseOut="HideTip('tt66')">xaxis</a></td><td class=SDescription>which x axis to use with this series, either ‘xaxis’ or ‘x2axis’.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.yaxis" id=link68 onMouseOver="ShowTip(event, 'tt67', 'link68')" onMouseOut="HideTip('tt67')">yaxis</a></td><td class=SDescription>which y axis to use with this series, either ‘yaxis’ or ‘y2axis’.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.renderer" id=link69 onMouseOver="ShowTip(event, 'tt68', 'link69')" onMouseOut="HideTip('tt68')">renderer</a></td><td class=SDescription>A class of a renderer which will draw the series, see <a href="jqplot-lineRenderer-js.html#$.jqplot.LineRenderer" class=LClass id=link70 onMouseOver="ShowTip(event, 'tt69', 'link70')" onMouseOut="HideTip('tt69')">$.jqplot.LineRenderer</a>.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.rendererOptions" id=link71 onMouseOver="ShowTip(event, 'tt70', 'link71')" onMouseOut="HideTip('tt70')">rendererOptions</a></td><td class=SDescription>Options to pass on to the renderer.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.label" id=link72 onMouseOver="ShowTip(event, 'tt71', 'link72')" onMouseOut="HideTip('tt71')">label</a></td><td class=SDescription>Line label to use in the legend.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.showLabel" id=link73 onMouseOver="ShowTip(event, 'tt72', 'link73')" onMouseOut="HideTip('tt72')">showLabel</a></td><td class=SDescription>true to show label for this series in the legend.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.color" id=link74 onMouseOver="ShowTip(event, 'tt73', 'link74')" onMouseOut="HideTip('tt73')">color</a></td><td class=SDescription>css color spec for the series</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.negativeColor" id=link75 onMouseOver="ShowTip(event, 'tt74', 'link75')" onMouseOut="HideTip('tt74')">negativeColor</a></td><td class=SDescription>css color spec used for filled (area) plots that are filled to zero and the “useNegativeColors” option is true.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.lineWidth" id=link76 onMouseOver="ShowTip(event, 'tt75', 'link76')" onMouseOut="HideTip('tt75')">lineWidth</a></td><td class=SDescription>width of the line in pixels. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.lineJoin" id=link77 onMouseOver="ShowTip(event, 'tt76', 'link77')" onMouseOut="HideTip('tt76')">lineJoin</a></td><td class=SDescription>Canvas lineJoin style between segments of series.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.lineCap" id=link78 onMouseOver="ShowTip(event, 'tt77', 'link78')" onMouseOut="HideTip('tt77')">lineCap</a></td><td class=SDescription>Canvas lineCap style at ends of line.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.linePattern" id=link79 onMouseOver="ShowTip(event, 'tt78', 'link79')" onMouseOut="HideTip('tt78')">linePattern</a></td><td class=SDescription>line pattern ‘dashed’, ‘dotted’, ‘solid’, some combination of ‘-’ and ‘.’</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.shadowAngle" id=link80 onMouseOver="ShowTip(event, 'tt79', 'link80')" onMouseOut="HideTip('tt79')">shadowAngle</a></td><td class=SDescription>Shadow angle in degrees</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.shadowOffset" id=link81 onMouseOver="ShowTip(event, 'tt80', 'link81')" onMouseOut="HideTip('tt80')">shadowOffset</a></td><td class=SDescription>Shadow offset from line in pixels</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.shadowDepth" id=link82 onMouseOver="ShowTip(event, 'tt81', 'link82')" onMouseOut="HideTip('tt81')">shadowDepth</a></td><td class=SDescription>Number of times shadow is stroked, each stroke offset shadowOffset from the last.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.shadowAlpha" id=link83 onMouseOver="ShowTip(event, 'tt82', 'link83')" onMouseOut="HideTip('tt82')">shadowAlpha</a></td><td class=SDescription>Alpha channel transparency of shadow. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.breakOnNull" id=link84 onMouseOver="ShowTip(event, 'tt83', 'link84')" onMouseOut="HideTip('tt83')">breakOnNull</a></td><td class=SDescription>Wether line segments should be be broken at null value. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.markerRenderer" id=link85 onMouseOver="ShowTip(event, 'tt84', 'link85')" onMouseOut="HideTip('tt84')">markerRenderer</a></td><td class=SDescription>A class of a renderer which will draw marker (e.g. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.markerOptions" id=link86 onMouseOver="ShowTip(event, 'tt85', 'link86')" onMouseOut="HideTip('tt85')">markerOptions</a></td><td class=SDescription>renderer specific options to pass to the markerRenderer, see <a href="jqplot-markerRenderer-js.html#$.jqplot.MarkerRenderer" class=LClass id=link87 onMouseOver="ShowTip(event, 'tt86', 'link87')" onMouseOut="HideTip('tt86')">$.jqplot.MarkerRenderer</a>.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.showLine" id=link88 onMouseOver="ShowTip(event, 'tt87', 'link88')" onMouseOut="HideTip('tt87')">showLine</a></td><td class=SDescription>wether to actually draw the line or not. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.showMarker" id=link89 onMouseOver="ShowTip(event, 'tt88', 'link89')" onMouseOut="HideTip('tt88')">showMarker</a></td><td class=SDescription>wether or not to show the markers at the data points.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.index" id=link90 onMouseOver="ShowTip(event, 'tt89', 'link90')" onMouseOut="HideTip('tt89')">index</a></td><td class=SDescription>0 based index of this series in the plot series array.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.fill" id=link91 onMouseOver="ShowTip(event, 'tt90', 'link91')" onMouseOut="HideTip('tt90')">fill</a></td><td class=SDescription>true or false, wether to fill under lines or in bars. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.fillColor" id=link92 onMouseOver="ShowTip(event, 'tt91', 'link92')" onMouseOut="HideTip('tt91')">fillColor</a></td><td class=SDescription>CSS color spec to use for fill under line. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.fillAlpha" id=link93 onMouseOver="ShowTip(event, 'tt92', 'link93')" onMouseOut="HideTip('tt92')">fillAlpha</a></td><td class=SDescription>Alpha transparency to apply to the fill under the line. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.fillAndStroke" id=link94 onMouseOver="ShowTip(event, 'tt93', 'link94')" onMouseOut="HideTip('tt93')">fillAndStroke</a></td><td class=SDescription>If true will stroke the line (with color this.color) as well as fill under it. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.disableStack" id=link95 onMouseOver="ShowTip(event, 'tt94', 'link95')" onMouseOut="HideTip('tt94')">disableStack</a></td><td class=SDescription>true to not stack this series with other series in the plot. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.neighborThreshold" id=link96 onMouseOver="ShowTip(event, 'tt95', 'link96')" onMouseOut="HideTip('tt95')">neighborThreshold</a></td><td class=SDescription>how close or far (in pixels) the cursor must be from a point marker to detect the point.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.fillToZero" id=link97 onMouseOver="ShowTip(event, 'tt96', 'link97')" onMouseOut="HideTip('tt96')">fillToZero</a></td><td class=SDescription>true will force bar and filled series to fill toward zero on the fill Axis.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.fillToValue" id=link98 onMouseOver="ShowTip(event, 'tt97', 'link98')" onMouseOut="HideTip('tt97')">fillToValue</a></td><td class=SDescription>fill a filled series to this value on the fill axis. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Series.fillAxis" id=link99 onMouseOver="ShowTip(event, 'tt98', 'link99')" onMouseOut="HideTip('tt98')">fillAxis</a></td><td class=SDescription>Either ‘x’ or ‘y’. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Series.useNegativeColors" id=link100 onMouseOver="ShowTip(event, 'tt99', 'link100')" onMouseOut="HideTip('tt99')">useNegativeColors</a></td><td class=SDescription>true to color negative values differently in filled and bar charts.</td></tr><tr class="SClass"><td class=SEntry><a href="#Grid" >Grid</a></td><td class=SDescription>Object representing the grid on which the plot is drawn. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Grid.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Grid.drawGridlines" id=link101 onMouseOver="ShowTip(event, 'tt100', 'link101')" onMouseOut="HideTip('tt100')">drawGridlines</a></td><td class=SDescription>wether to draw the gridlines on the plot.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Grid.gridLineColor" id=link102 onMouseOver="ShowTip(event, 'tt101', 'link102')" onMouseOut="HideTip('tt101')">gridLineColor</a></td><td class=SDescription>color of the grid lines.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Grid.gridLineWidth" id=link103 onMouseOver="ShowTip(event, 'tt102', 'link103')" onMouseOut="HideTip('tt102')">gridLineWidth</a></td><td class=SDescription>width of the grid lines.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Grid.background" id=link104 onMouseOver="ShowTip(event, 'tt103', 'link104')" onMouseOut="HideTip('tt103')">background</a></td><td class=SDescription>css spec for the background color.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Grid.borderColor" id=link105 onMouseOver="ShowTip(event, 'tt104', 'link105')" onMouseOut="HideTip('tt104')">borderColor</a></td><td class=SDescription>css spec for the color of the grid border.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Grid.borderWidth" id=link106 onMouseOver="ShowTip(event, 'tt105', 'link106')" onMouseOut="HideTip('tt105')">borderWidth</a></td><td class=SDescription>width of the border in pixels.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Grid.drawBorder" id=link107 onMouseOver="ShowTip(event, 'tt106', 'link107')" onMouseOut="HideTip('tt106')">drawBorder</a></td><td class=SDescription>True to draw border around grid.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Grid.shadow" id=link108 onMouseOver="ShowTip(event, 'tt107', 'link108')" onMouseOut="HideTip('tt107')">shadow</a></td><td class=SDescription>wether to show a shadow behind the grid.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Grid.shadowAngle" id=link109 onMouseOver="ShowTip(event, 'tt108', 'link109')" onMouseOut="HideTip('tt108')">shadowAngle</a></td><td class=SDescription>shadow angle in degrees</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Grid.shadowOffset" id=link110 onMouseOver="ShowTip(event, 'tt109', 'link110')" onMouseOut="HideTip('tt109')">shadowOffset</a></td><td class=SDescription>Offset of each shadow stroke from the border in pixels</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Grid.shadowWidth" id=link111 onMouseOver="ShowTip(event, 'tt110', 'link111')" onMouseOut="HideTip('tt110')">shadowWidth</a></td><td class=SDescription>width of the stoke for the shadow</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Grid.shadowDepth" id=link112 onMouseOver="ShowTip(event, 'tt111', 'link112')" onMouseOut="HideTip('tt111')">shadowDepth</a></td><td class=SDescription>Number of times shadow is stroked, each stroke offset shadowOffset from the last.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Grid.shadowColor" id=link113 onMouseOver="ShowTip(event, 'tt112', 'link113')" onMouseOut="HideTip('tt112')">shadowColor</a></td><td class=SDescription>an optional css color spec for the shadow in ‘rgba(n, n, n, n)’ form</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Grid.shadowAlpha" id=link114 onMouseOver="ShowTip(event, 'tt113', 'link114')" onMouseOut="HideTip('tt113')">shadowAlpha</a></td><td class=SDescription>Alpha channel transparency of shadow. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#Grid.renderer" id=link115 onMouseOver="ShowTip(event, 'tt114', 'link115')" onMouseOut="HideTip('tt114')">renderer</a></td><td class=SDescription>Instance of a renderer which will actually render the grid, see <a href="jqplot-canvasGridRenderer-js.html#$.jqplot.CanvasGridRenderer" class=LClass id=link116 onMouseOver="ShowTip(event, 'tt115', 'link116')" onMouseOut="HideTip('tt115')">$.jqplot.CanvasGridRenderer</a>.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#Grid.rendererOptions" id=link117 onMouseOver="ShowTip(event, 'tt116', 'link117')" onMouseOut="HideTip('tt116')">rendererOptions</a></td><td class=SDescription>Options to pass on to the renderer, see <a href="jqplot-canvasGridRenderer-js.html#$.jqplot.CanvasGridRenderer" class=LClass id=link118 onMouseOver="ShowTip(event, 'tt115', 'link118')" onMouseOut="HideTip('tt115')">$.jqplot.CanvasGridRenderer</a>.</td></tr><tr class="SClass"><td class=SEntry><a href="#jqPlot" >jqPlot</a></td><td class=SDescription>Plot object returned by call to $.jqplot. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#jqPlot.Properties" >Properties</a></td><td class=SDescription>These properties are specified at the top of the options object like so:</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.animate" id=link119 onMouseOver="ShowTip(event, 'tt117', 'link119')" onMouseOut="HideTip('tt117')">animate</a></td><td class=SDescription>True to animate the series on initial plot draw (renderer dependent). </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#jqPlot.animateReplot" id=link120 onMouseOver="ShowTip(event, 'tt118', 'link120')" onMouseOut="HideTip('tt118')">animateReplot</a></td><td class=SDescription>True to animate series after a call to the replot() method. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.axes" id=link121 onMouseOver="ShowTip(event, 'tt119', 'link121')" onMouseOut="HideTip('tt119')">axes</a></td><td class=SDescription>up to 4 axes are supported, each with it’s own options, See <a href="#Axis" class=LClass id=link122 onMouseOver="ShowTip(event, 'tt120', 'link122')" onMouseOut="HideTip('tt120')">Axis</a> for axis specific options.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#jqPlot.data" id=link123 onMouseOver="ShowTip(event, 'tt121', 'link123')" onMouseOut="HideTip('tt121')">data</a></td><td class=SDescription>user’s data. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.dataRenderer" id=link124 onMouseOver="ShowTip(event, 'tt122', 'link124')" onMouseOut="HideTip('tt122')">dataRenderer</a></td><td class=SDescription>A callable which can be used to preprocess data passed into the plot. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#jqPlot.dataRendererOptions" id=link125 onMouseOver="ShowTip(event, 'tt123', 'link125')" onMouseOut="HideTip('tt123')">dataRendererOptions</a></td><td class=SDescription>Options that will be passed to the dataRenderer. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.axesDefaults" >axesDefaults</a></td><td class=SDescription>default options that will be applied to all axes. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#jqPlot.seriesDefaults" id=link126 onMouseOver="ShowTip(event, 'tt124', 'link126')" onMouseOut="HideTip('tt124')">seriesDefaults</a></td><td class=SDescription>default options that will be applied to all series. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.defaultAxisStart" id=link127 onMouseOver="ShowTip(event, 'tt125', 'link127')" onMouseOut="HideTip('tt125')">defaultAxisStart</a></td><td class=SDescription>1-D data series are internally converted into 2-D [x,y] data point arrays by jqPlot. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#jqPlot.fillBetween" id=link128 onMouseOver="ShowTip(event, 'tt126', 'link128')" onMouseOut="HideTip('tt126')">fillBetween</a></td><td class=SDescription>Fill between 2 line series in a plot. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.fontSize" id=link129 onMouseOver="ShowTip(event, 'tt127', 'link129')" onMouseOut="HideTip('tt127')">fontSize</a></td><td class=SDescription>css spec for the font-size attribute. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#jqPlot.grid" id=link130 onMouseOver="ShowTip(event, 'tt128', 'link130')" onMouseOut="HideTip('tt128')">grid</a></td><td class=SDescription>See <a href="#Grid" class=LClass id=link131 onMouseOver="ShowTip(event, 'tt129', 'link131')" onMouseOut="HideTip('tt129')">Grid</a> for grid specific options.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.legend" id=link132 onMouseOver="ShowTip(event, 'tt130', 'link132')" onMouseOut="HideTip('tt130')">legend</a></td><td class=SDescription>see <$.jqplot.TableLegendRenderer></td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#jqPlot.noDataIndicator" >noDataIndicator</a></td><td class=SDescription>Options to set up a mock plot with a data loading indicator if no data is specified.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.series" id=link133 onMouseOver="ShowTip(event, 'tt131', 'link133')" onMouseOut="HideTip('tt131')">series</a></td><td class=SDescription>Array of series object options. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#jqPlot.seriesColors" id=link134 onMouseOver="ShowTip(event, 'tt132', 'link134')" onMouseOut="HideTip('tt132')">seriesColors</a></td><td class=SDescription>Ann array of CSS color specifications that will be applied, in order, to the series in the plot. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.sortData" id=link135 onMouseOver="ShowTip(event, 'tt133', 'link135')" onMouseOut="HideTip('tt133')">sortData</a></td><td class=SDescription>false to not sort the data passed in by the user. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#jqPlot.stackSeries" id=link136 onMouseOver="ShowTip(event, 'tt134', 'link136')" onMouseOut="HideTip('tt134')">stackSeries</a></td><td class=SDescription>true or false, creates a stack or “mountain” plot. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.title" id=link137 onMouseOver="ShowTip(event, 'tt135', 'link137')" onMouseOut="HideTip('tt135')">title</a></td><td class=SDescription>Title object. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#jqPlot.methods" >methods</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.init" id=link138 onMouseOver="ShowTip(event, 'tt136', 'link138')" onMouseOut="HideTip('tt136')">init</a></td><td class=SDescription>sets the plot target, checks data and applies user options to plot.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jqPlot.resetAxesScale" id=link139 onMouseOver="ShowTip(event, 'tt137', 'link139')" onMouseOut="HideTip('tt137')">resetAxesScale</a></td><td class=SDescription>Reset the specified axes min, max, numberTicks and tickInterval properties to null or reset these properties on all axes if no list of axes is provided.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.reInitialize" id=link140 onMouseOver="ShowTip(event, 'tt138', 'link140')" onMouseOut="HideTip('tt138')">reInitialize</a></td><td class=SDescription>reinitialize plot for replotting. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jqPlot.quickInit" id=link141 onMouseOver="ShowTip(event, 'tt139', 'link141')" onMouseOut="HideTip('tt139')">quickInit</a></td><td class=SDescription>Quick reinitialization plot for replotting. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.destroy" id=link142 onMouseOver="ShowTip(event, 'tt140', 'link142')" onMouseOut="HideTip('tt140')">destroy</a></td><td class=SDescription>Releases all resources occupied by the plot</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jqPlot.replot" id=link143 onMouseOver="ShowTip(event, 'tt141', 'link143')" onMouseOut="HideTip('tt141')">replot</a></td><td class=SDescription>Does a reinitialization of the plot followed by a redraw. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.redraw" id=link144 onMouseOver="ShowTip(event, 'tt142', 'link144')" onMouseOut="HideTip('tt142')">redraw</a></td><td class=SDescription>Empties the plot target div and redraws the plot. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jqPlot.draw" id=link145 onMouseOver="ShowTip(event, 'tt143', 'link145')" onMouseOut="HideTip('tt143')">draw</a></td><td class=SDescription>Draws all elements of the plot into the container. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.drawSeries" id=link146 onMouseOver="ShowTip(event, 'tt144', 'link146')" onMouseOut="HideTip('tt144')">drawSeries</a></td><td class=SDescription>Redraws all or just one series on the plot. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jqPlot.moveSeriesToFront" id=link147 onMouseOver="ShowTip(event, 'tt145', 'link147')" onMouseOut="HideTip('tt145')">moveSeriesToFront</a></td><td class=SDescription>This method requires jQuery 1.4+ Moves the specified series canvas in front of all other series canvases. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.moveSeriesToBack" id=link148 onMouseOver="ShowTip(event, 'tt146', 'link148')" onMouseOut="HideTip('tt146')">moveSeriesToBack</a></td><td class=SDescription>This method requires jQuery 1.4+ Moves the specified series canvas behind all other series canvases.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jqPlot.restorePreviousSeriesOrder" id=link149 onMouseOver="ShowTip(event, 'tt147', 'link149')" onMouseOut="HideTip('tt147')">restorePreviousSeriesOrder</a></td><td class=SDescription>This method requires jQuery 1.4+ Restore the series canvas order to its previous state. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jqPlot.restoreOriginalSeriesOrder" id=link150 onMouseOver="ShowTip(event, 'tt148', 'link150')" onMouseOut="HideTip('tt148')">restoreOriginalSeriesOrder</a></td><td class=SDescription>This method requires jQuery 1.4+ Restore the series canvas order to its original order when the plot was created.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Version"></a>Version</h3><div class=CBody><p>version: 1.0.3 revision: 1117</p></div></div></div>
<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="CopyrightLicense"></a>Copyright & License</h3><div class=CBody><p>Copyright © 2009-2012 Chris Leonello jqPlot is currently available for use in all personal or commercial projects under both the MIT and GPL version 2.0 licenses. This means that you can choose the license that best suits your project and use it accordingly.</p><p>See <a href="gpl-2-0-txt.html#GPL_Version_2" class=LSection id=link151 onMouseOver="ShowTip(event, 'tt149', 'link151')" onMouseOut="HideTip('tt149')">GPL Version 2</a> and <a href="MIT-LICENSE-txt.html#MIT_License" class=LSection id=link152 onMouseOver="ShowTip(event, 'tt150', 'link152')" onMouseOut="HideTip('tt150')">MIT License</a> contained within this distribution for further information.</p><p>The author would appreciate an email letting him know of any substantial use of jqPlot. You can reach the author at: chris at jqplot dot com or see <a href="http://www.jqplot.com/info.php" class=LURL target=_top>http://www.jqplot.com/info.php</a>. This is, of course, not required.</p><p>If you are feeling kind and generous, consider supporting the project by making a donation at: <a href="http://www.jqplot.com/donate.php" class=LURL target=_top>http://www.jqplot.com/donate.php</a>.</p><h4 class=CHeading>sprintf functions contained in jqplot.sprintf.js by Ash Searle</h4><p>version 2007.04.27 author Ash Searle <a href="http://hexmen.com/blog/2007/03/printf-sprintf/" class=LURL target=_top>http://hexmen.com/blog/2007/03/printf-sprintf/</a> <a href="http://hexmen.com/js/sprintf.js" class=LURL target=_top>http://hexmen.com/js/sprintf.js</a> The author (Ash Searle) has placed this code in the public domain: “This code is unrestricted: you are free to use it however you like.”</p></div></div></div>
<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Introduction"></a>Introduction</h3><div class=CBody><p>jqPlot requires jQuery (1.4+ required for certain features). jQuery 1.4.2 is included in the distribution. To use jqPlot include jQuery, the jqPlot jQuery plugin, the jqPlot css file and optionally the excanvas script for IE support in your web page:</p><blockquote><pre><!--[if lt IE 9]><script language="javascript" type="text/javascript" src="excanvas.js"></script><![endif]-->
<script language="javascript" type="text/javascript" src="jquery-1.4.4.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery.jqplot.min.js"></script>
<link rel="stylesheet" type="text/css" href="jquery.jqplot.css" /></pre></blockquote><p>jqPlot can be customized by overriding the defaults of any of the objects which make up the plot. The general usage of jqplot is:</p><blockquote><pre>chart = $.jqplot('targetElemId', [dataArray,...], {optionsObject});</pre></blockquote><p>The options available to jqplot are detailed in <a href="jqPlotOptions-txt.html#jqPlot_Options" class=LSection id=link153 onMouseOver="ShowTip(event, 'tt1', 'link153')" onMouseOut="HideTip('tt1')">jqPlot Options</a> in the jqPlotOptions.txt file.</p><p>An actual call to $.jqplot() may look like the examples below:</p><blockquote><pre>chart = $.jqplot('chartdiv', [[[1, 2],[3,5.12],[5,13.1],[7,33.6],[9,85.9],[11,219.9]]]);</pre></blockquote><p>or</p><blockquote><pre>dataArray = [34,12,43,55,77];
chart = $.jqplot('targetElemId', [dataArray, ...], {title:'My Plot', axes:{yaxis:{min:20, max:100}}});</pre></blockquote><p>For more inforrmation, see <a href="usage-txt.html#jqPlot_Usage" class=LSection >jqPlot Usage</a>.</p></div></div></div>
<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Usage"></a>Usage</h3><div class=CBody><p>See <a href="usage-txt.html#jqPlot_Usage" class=LSection >jqPlot Usage</a></p></div></div></div>
<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Available_Options"></a>Available Options</h3><div class=CBody><p>See <a href="jqPlotOptions-txt.html#jqPlot_Options" class=LSection id=link154 onMouseOver="ShowTip(event, 'tt1', 'link154')" onMouseOut="HideTip('tt1')">jqPlot Options</a> for a list of options available thorugh the options object (not complete yet!)</p></div></div></div>
<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Options_Usage"></a>Options Usage</h3><div class=CBody><p>See <a href="optionsTutorial-txt.html#Options_Tutorial" class=LSection id=link155 onMouseOver="ShowTip(event, 'tt2', 'link155')" onMouseOut="HideTip('tt2')">Options Tutorial</a></p></div></div></div>
<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Changes"></a>Changes</h3><div class=CBody><p>See <a href="changes-txt.html#Change_Log" class=LSection >Change Log</a></p></div></div></div>
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="$.jqplot"></a>$.jqplot</h2><div class=CBody><p>jQuery function called by the user to create a plot.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>target</td><td class=CDLDescription>ID of target element to render the plot into.</td></tr><tr><td class=CDLEntry>data</td><td class=CDLDescription>an array of data series.</td></tr><tr><td class=CDLEntry>options</td><td class=CDLDescription>user defined options object. See the individual classes for available options.</td></tr></table><h4 class=CHeading>Properties</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>config</td><td class=CDLDescription>object to hold configuration information for jqPlot plot object.</td></tr></table><h4 class=CHeading>attributes</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>enablePlugins</td><td class=CDLDescription>False to disable plugins by default. Plugins must then be explicitly enabled in the individual plot options. Default: false. This property sets the “show” property of certain plugins to true or false. Only plugins that can be immediately active upon loading are affected. This includes non-renderer plugins like cursor, dragable, highlighter, and trendline.</td></tr><tr><td class=CDLEntry>defaultHeight</td><td class=CDLDescription>Default height for plots where no css height specification exists. This is a jqplot wide default.</td></tr><tr><td class=CDLEntry>defaultWidth</td><td class=CDLDescription>Default height for plots where no css height specification exists. This is a jqplot wide default.</td></tr></table><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#$.jqplot.Hooks" >Hooks</a></td><td class=SDescription></td></tr><tr class="SHook SIndent1 SMarked"><td class=SEntry><a href="#$.jqplot.jqPlot_Pugin_Hooks" >jqPlot Pugin Hooks</a></td><td class=SDescription></td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="$.jqplot.Hooks"></a>Hooks</h3></div></div>
<div class="CHook"><div class=CTopic><h3 class=CTitle><a name="$.jqplot.jqPlot_Pugin_Hooks"></a>jqPlot Pugin Hooks</h3><div class=CBody><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.preInitHooks"></a>$.jqplot.preInitHooks</td><td class=CDLDescription>called before initialization.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.postInitHooks"></a>$.jqplot.postInitHooks</td><td class=CDLDescription>called after initialization.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.preParseOptionsHooks"></a>$.jqplot.preParseOptionsHooks</td><td class=CDLDescription>called before user options are parsed.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.postParseOptionsHooks"></a>$.jqplot.postParseOptionsHooks</td><td class=CDLDescription>called after user options are parsed.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.preDrawHooks"></a>$.jqplot.preDrawHooks</td><td class=CDLDescription>called before plot draw.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.postDrawHooks"></a>$.jqplot.postDrawHooks</td><td class=CDLDescription>called after plot draw.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.preDrawSeriesHooks"></a>$.jqplot.preDrawSeriesHooks</td><td class=CDLDescription>called before each series is drawn.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.postDrawSeriesHooks"></a>$.jqplot.postDrawSeriesHooks</td><td class=CDLDescription>called after each series is drawn.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.preDrawLegendHooks"></a>$.jqplot.preDrawLegendHooks</td><td class=CDLDescription>called before the legend is drawn.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.addLegendRowHooks"></a>$.jqplot.addLegendRowHooks</td><td class=CDLDescription>called at the end of legend draw, so plugins can add rows to the legend table.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.preSeriesInitHooks"></a>$.jqplot.preSeriesInitHooks</td><td class=CDLDescription>called before series is initialized.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.postSeriesInitHooks"></a>$.jqplot.postSeriesInitHooks</td><td class=CDLDescription>called after series is initialized.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.preParseSeriesOptionsHooks"></a>$.jqplot.preParseSeriesOptionsHooks</td><td class=CDLDescription>called before series related options are parsed.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.postParseSeriesOptionsHooks"></a>$.jqplot.postParseSeriesOptionsHooks</td><td class=CDLDescription>called after series related options are parsed.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.eventListenerHooks"></a>$.jqplot.eventListenerHooks</td><td class=CDLDescription>called at the end of plot drawing, binds listeners to the event canvas which lays on top of the grid area.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.preDrawSeriesShadowHooks"></a>$.jqplot.preDrawSeriesShadowHooks</td><td class=CDLDescription>called before series shadows are drawn.</td></tr><tr><td class=CDLEntry><a name="$.jqplot.jqPlot_Pugin_Hooks.$.jqplot.postDrawSeriesShadowHooks"></a>$.jqplot.postDrawSeriesShadowHooks</td><td class=CDLDescription>called after series shadows are drawn.</td></tr></table></div></div></div>
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="Axis"></a>Axis</h2><div class=CBody><p>An individual axis object. Cannot be instantiated directly, but created by the Plot oject. Axis properties can be set or overriden by the options passed in from the user.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#Axis.Properties" >Properties</a></td><td class=SDescription>Axes options are specified within an axes object at the top level of the plot options like so:</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.show" id=link156 onMouseOver="ShowTip(event, 'tt3', 'link156')" onMouseOut="HideTip('tt3')">show</a></td><td class=SDescription>Wether to display the axis on the graph.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.tickRenderer" id=link157 onMouseOver="ShowTip(event, 'tt4', 'link157')" onMouseOut="HideTip('tt4')">tickRenderer</a></td><td class=SDescription>A class of a rendering engine for creating the ticks labels displayed on the plot, See <a href="jqplot-axisTickRenderer-js.html#$.jqplot.AxisTickRenderer" class=LClass id=link158 onMouseOver="ShowTip(event, 'tt5', 'link158')" onMouseOut="HideTip('tt5')">$.jqplot.AxisTickRenderer</a>.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.tickOptions" id=link159 onMouseOver="ShowTip(event, 'tt6', 'link159')" onMouseOut="HideTip('tt6')">tickOptions</a></td><td class=SDescription>Options that will be passed to the tickRenderer, see <a href="jqplot-axisTickRenderer-js.html#$.jqplot.AxisTickRenderer" class=LClass id=link160 onMouseOver="ShowTip(event, 'tt5', 'link160')" onMouseOut="HideTip('tt5')">$.jqplot.AxisTickRenderer</a> options.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.labelRenderer" id=link161 onMouseOver="ShowTip(event, 'tt7', 'link161')" onMouseOut="HideTip('tt7')">labelRenderer</a></td><td class=SDescription>A class of a rendering engine for creating an axis label.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.labelOptions" id=link162 onMouseOver="ShowTip(event, 'tt8', 'link162')" onMouseOut="HideTip('tt8')">labelOptions</a></td><td class=SDescription>Options passed to the label renderer.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.label" id=link163 onMouseOver="ShowTip(event, 'tt9', 'link163')" onMouseOut="HideTip('tt9')">label</a></td><td class=SDescription>Label for the axis</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.showLabel" id=link164 onMouseOver="ShowTip(event, 'tt10', 'link164')" onMouseOut="HideTip('tt10')">showLabel</a></td><td class=SDescription>true to show the axis label.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.min" id=link165 onMouseOver="ShowTip(event, 'tt11', 'link165')" onMouseOut="HideTip('tt11')">min</a></td><td class=SDescription>minimum value of the axis (in data units, not pixels).</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.max" id=link166 onMouseOver="ShowTip(event, 'tt12', 'link166')" onMouseOut="HideTip('tt12')">max</a></td><td class=SDescription>maximum value of the axis (in data units, not pixels).</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.autoscale" id=link167 onMouseOver="ShowTip(event, 'tt13', 'link167')" onMouseOut="HideTip('tt13')">autoscale</a></td><td class=SDescription>DEPRECATED the default scaling algorithm produces superior results.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.pad" id=link168 onMouseOver="ShowTip(event, 'tt14', 'link168')" onMouseOut="HideTip('tt14')">pad</a></td><td class=SDescription>Padding to extend the range above and below the data bounds. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.padMax" id=link169 onMouseOver="ShowTip(event, 'tt15', 'link169')" onMouseOut="HideTip('tt15')">padMax</a></td><td class=SDescription>Padding to extend the range above data bounds. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.padMin" id=link170 onMouseOver="ShowTip(event, 'tt16', 'link170')" onMouseOut="HideTip('tt16')">padMin</a></td><td class=SDescription>Padding to extend the range below data bounds. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.ticks" id=link171 onMouseOver="ShowTip(event, 'tt17', 'link171')" onMouseOut="HideTip('tt17')">ticks</a></td><td class=SDescription>1D [val, val, ...] or 2D [[val, label], [val, label], ...] array of ticks for the axis. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.numberTicks" id=link172 onMouseOver="ShowTip(event, 'tt18', 'link172')" onMouseOut="HideTip('tt18')">numberTicks</a></td><td class=SDescription>Desired number of ticks. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.tickInterval" id=link173 onMouseOver="ShowTip(event, 'tt19', 'link173')" onMouseOut="HideTip('tt19')">tickInterval</a></td><td class=SDescription>number of units between ticks. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.renderer" id=link174 onMouseOver="ShowTip(event, 'tt20', 'link174')" onMouseOut="HideTip('tt20')">renderer</a></td><td class=SDescription>A class of a rendering engine that handles tick generation, scaling input data to pixel grid units and drawing the axis element.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.rendererOptions" id=link175 onMouseOver="ShowTip(event, 'tt21', 'link175')" onMouseOut="HideTip('tt21')">rendererOptions</a></td><td class=SDescription>renderer specific options. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.showTicks" id=link176 onMouseOver="ShowTip(event, 'tt22', 'link176')" onMouseOut="HideTip('tt22')">showTicks</a></td><td class=SDescription>Wether to show the ticks (both marks and labels) or not. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.showTickMarks" id=link177 onMouseOver="ShowTip(event, 'tt23', 'link177')" onMouseOut="HideTip('tt23')">showTickMarks</a></td><td class=SDescription>Wether to show the tick marks (line crossing grid) or not. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.showMinorTicks" id=link178 onMouseOver="ShowTip(event, 'tt24', 'link178')" onMouseOut="HideTip('tt24')">showMinorTicks</a></td><td class=SDescription>Wether or not to show minor ticks. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.drawMajorGridlines" id=link179 onMouseOver="ShowTip(event, 'tt25', 'link179')" onMouseOut="HideTip('tt25')">drawMajorGridlines</a></td><td class=SDescription>True to draw gridlines for major axis ticks.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.drawMinorGridlines" id=link180 onMouseOver="ShowTip(event, 'tt26', 'link180')" onMouseOut="HideTip('tt26')">drawMinorGridlines</a></td><td class=SDescription>True to draw gridlines for minor ticks.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.drawMajorTickMarks" id=link181 onMouseOver="ShowTip(event, 'tt27', 'link181')" onMouseOut="HideTip('tt27')">drawMajorTickMarks</a></td><td class=SDescription>True to draw tick marks for major axis ticks.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.drawMinorTickMarks" id=link182 onMouseOver="ShowTip(event, 'tt28', 'link182')" onMouseOut="HideTip('tt28')">drawMinorTickMarks</a></td><td class=SDescription>True to draw tick marks for minor ticks. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.useSeriesColor" id=link183 onMouseOver="ShowTip(event, 'tt29', 'link183')" onMouseOut="HideTip('tt29')">useSeriesColor</a></td><td class=SDescription>Use the color of the first series associated with this axis for the tick marks and line bordering this axis.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.borderWidth" id=link184 onMouseOver="ShowTip(event, 'tt30', 'link184')" onMouseOut="HideTip('tt30')">borderWidth</a></td><td class=SDescription>width of line stroked at the border of the axis. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.borderColor" id=link185 onMouseOver="ShowTip(event, 'tt31', 'link185')" onMouseOut="HideTip('tt31')">borderColor</a></td><td class=SDescription>color of the border adjacent to the axis. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.scaleToHiddenSeries" id=link186 onMouseOver="ShowTip(event, 'tt32', 'link186')" onMouseOut="HideTip('tt32')">scaleToHiddenSeries</a></td><td class=SDescription>True to include hidden series when computing axes bounds and scaling.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#Axis.syncTicks" id=link187 onMouseOver="ShowTip(event, 'tt33', 'link187')" onMouseOut="HideTip('tt33')">syncTicks</a></td><td class=SDescription>true to try and synchronize tick spacing across multiple axes so that ticks and grid lines line up. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#Axis.tickSpacing" id=link188 onMouseOver="ShowTip(event, 'tt34', 'link188')" onMouseOut="HideTip('tt34')">tickSpacing</a></td><td class=SDescription>Approximate pixel spacing between ticks on graph. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Axis.Properties"></a>Properties</h3><div class=CBody><p>Axes options are specified within an axes object at the top level of the plot options like so:</p><blockquote><pre>{
axes: {
xaxis: {min: 5},
yaxis: {min: 2, max: 8, numberTicks:4},
x2axis: {pad: 1.5},
y2axis: {ticks:[22, 44, 66, 88]}
}
}</pre></blockquote><p>There are 2 x axes, ‘xaxis’ and ‘x2axis’, and 9 yaxes, ‘yaxis’, ‘y2axis’. ‘y3axis’, ... Any or all of which may be specified.</p></div></div></div>
<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="Axis.show"></a>show</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>this.show = false</td></tr></table></blockquote><p>Wether to display the axis on the graph.</p></div></div></div>
<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="Axis.tickRenderer"></a>tickRenderer</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>this.tickRenderer = $.jqplot.AxisTickRenderer</td></tr></table></blockquote><p>A class of a rendering engine for creating the ticks labels displayed on the plot, See <a href="jqplot-axisTickRenderer-js.html#$.jqplot.AxisTickRenderer" class=LClass id=link189 onMouseOver="ShowTip(event, 'tt5', 'link189')" onMouseOut="HideTip('tt5')">$.jqplot.AxisTickRenderer</a>.</p></div></div></div>
<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="Axis.tickOptions"></a>tickOptions</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>this.tickOptions = {}</td></tr></table></blockquote><p>Options that will be passed to the tickRenderer, see <a href="jqplot-axisTickRenderer-js.html#$.jqplot.AxisTickRenderer" class=LClass id=link190 onMouseOver="ShowTip(event, 'tt5', 'link190')" onMouseOut="HideTip('tt5')">$.jqplot.AxisTickRenderer</a> options.</p></div></div></div>
<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="Axis.labelRenderer"></a>labelRenderer</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>this.labelRenderer = $.jqplot.AxisLabelRenderer</td></tr></table></blockquote><p>A class of a rendering engine for creating an axis label.</p></div></div></div>
<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="Axis.labelOptions"></a>labelOptions</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>this.labelOptions = {}</td></tr></table></blockquote><p>Options passed to the label renderer.</p></div></div></div>
后面还有 329 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
