Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / docs / output / Ext.chart.axis.Numeric.js
diff --git a/docs/output/Ext.chart.axis.Numeric.js b/docs/output/Ext.chart.axis.Numeric.js
new file mode 100644 (file)
index 0000000..30272af
--- /dev/null
@@ -0,0 +1,323 @@
+Ext.data.JsonP.Ext_chart_axis_Numeric({
+  "tagname": "class",
+  "name": "Ext.chart.axis.Numeric",
+  "doc": "<p>An axis to handle numeric values. This axis is used for quantitative data as\nopposed to the category axis. You can set mininum and maximum values to the\naxis so that the values are bound to that. If no values are set, then the\nscale will auto-adjust to the values.</p>\n\n<p><p><img src=\"doc-resources/Ext.chart.axis.Numeric/Ext.chart.axis.Numeric.png\" alt=\"Ext.chart.axis.Numeric chart axis\"></p></p>\n\n<p>For example:</p>\n\n<pre><code>var store = Ext.create('Ext.data.JsonStore', {\n     fields: ['name', 'data1', 'data2', 'data3', 'data4', 'data5'],\n     data: [\n         {'name':'metric one', 'data1':10, 'data2':12, 'data3':14, 'data4':8, 'data5':13},\n         {'name':'metric two', 'data1':7, 'data2':8, 'data3':16, 'data4':10, 'data5':3},\n         {'name':'metric three', 'data1':5, 'data2':2, 'data3':14, 'data4':12, 'data5':7},\n         {'name':'metric four', 'data1':2, 'data2':14, 'data3':6, 'data4':1, 'data5':23},\n         {'name':'metric five', 'data1':27, 'data2':38, 'data3':36, 'data4':13, 'data5':33}                                                \n     ]\n});\n\nExt.create('Ext.chart.Chart', {\n    renderTo: Ext.getBody(),\n    width: 500,\n    height: 300,\n    store: store,\n    axes: [{\n        type: 'Numeric',\n        grid: true,\n        position: 'left',\n        fields: ['data1', 'data2', 'data3', 'data4', 'data5'],\n        title: 'Sample Values',\n        grid: {\n            odd: {\n                opacity: 1,\n                fill: '#ddd',\n                stroke: '#bbb',\n                'stroke-width': 1\n            }\n        },\n        minimum: 0,\n        adjustMinimumByMajorUnit: 0\n    }, {\n        type: 'Category',\n        position: 'bottom',\n        fields: ['name'],\n        title: 'Sample Metrics',\n        grid: true,\n        label: {\n            rotate: {\n                degrees: 315\n            }\n        }\n    }],\n    series: [{\n        type: 'area',\n        highlight: false,\n        axis: 'left',\n        xField: 'name',\n        yField: ['data1', 'data2', 'data3', 'data4', 'data5'],\n        style: {\n            opacity: 0.93\n        }\n    }]\n});\n</code></pre>\n\n<p>In this example we create an axis of Numeric type. We set a minimum value so that\neven if all series have values greater than zero, the grid starts at zero. We bind\nthe axis onto the left part of the surface by setting <em>position</em> to <em>left</em>.\nWe bind three different store fields to this axis by setting <em>fields</em> to an array.\nWe set the title of the axis to <em>Number of Hits</em> by using the <em>title</em> property.\nWe use a <em>grid</em> configuration to set odd background rows to a certain style and even rows\nto be transparent/ignored.</p>\n",
+  "extends": "Ext.chart.axis.Axis",
+  "mixins": [
+
+  ],
+  "alternateClassNames": [
+    "Ext.chart.NumericAxis"
+  ],
+  "xtype": null,
+  "author": null,
+  "docauthor": null,
+  "singleton": false,
+  "private": false,
+  "cfg": [
+    {
+      "tagname": "cfg",
+      "name": "dashSize",
+      "member": "Ext.chart.axis.Axis",
+      "type": "Number",
+      "doc": "<p>The size of the dash marker. Default's 3.</p>\n",
+      "private": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Axis.js",
+      "linenr": 69,
+      "html_filename": "Axis.html",
+      "href": "Axis.html#Ext-chart-axis-Axis-cfg-dashSize"
+    },
+    {
+      "tagname": "cfg",
+      "name": "length",
+      "member": "Ext.chart.axis.Axis",
+      "type": "Number",
+      "doc": "<p>Offset axis position. Default's 0.</p>\n",
+      "private": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Axis.js",
+      "linenr": 84,
+      "html_filename": "Axis.html",
+      "href": "Axis.html#Ext-chart-axis-Axis-cfg-length"
+    },
+    {
+      "tagname": "cfg",
+      "name": "majorTickSteps",
+      "member": "Ext.chart.axis.Axis",
+      "type": "Number",
+      "doc": "<p>If <code>minimum</code> and <code>maximum</code> are specified it forces the number of major ticks to the specified value.</p>\n",
+      "private": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Axis.js",
+      "linenr": 56,
+      "html_filename": "Axis.html",
+      "href": "Axis.html#Ext-chart-axis-Axis-cfg-majorTickSteps"
+    },
+    {
+      "tagname": "cfg",
+      "name": "minorTickSteps",
+      "member": "Ext.chart.axis.Axis",
+      "type": "Number",
+      "doc": "<p>The number of small ticks between two major ticks. Default is zero.</p>\n",
+      "private": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Axis.js",
+      "linenr": 61,
+      "html_filename": "Axis.html",
+      "href": "Axis.html#Ext-chart-axis-Axis-cfg-minorTickSteps"
+    },
+    {
+      "tagname": "cfg",
+      "name": "position",
+      "member": "Ext.chart.axis.Axis",
+      "type": "String",
+      "doc": "<p>Where to set the axis. Available options are <code>left</code>, <code>bottom</code>, <code>right</code>, <code>top</code>. Default's <code>bottom</code>.</p>\n",
+      "private": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Axis.js",
+      "linenr": 75,
+      "html_filename": "Axis.html",
+      "href": "Axis.html#Ext-chart-axis-Axis-cfg-position"
+    },
+    {
+      "tagname": "cfg",
+      "name": "width",
+      "member": "Ext.chart.axis.Axis",
+      "type": "Number",
+      "doc": "<p>Offset axis width. Default's 0.</p>\n",
+      "private": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Axis.js",
+      "linenr": 90,
+      "html_filename": "Axis.html",
+      "href": "Axis.html#Ext-chart-axis-Axis-cfg-width"
+    }
+  ],
+  "method": [
+    {
+      "tagname": "method",
+      "name": "Numeric",
+      "member": "Ext.chart.axis.Numeric",
+      "doc": "\n",
+      "params": [
+
+      ],
+      "return": {
+        "type": "void",
+        "doc": "\n"
+      },
+      "private": false,
+      "static": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Numeric.js",
+      "linenr": 1,
+      "html_filename": "Numeric.html",
+      "href": "Numeric.html#Ext-chart-axis-Numeric-method-constructor",
+      "shortDoc": "\n"
+    },
+    {
+      "tagname": "method",
+      "name": "drawAxis",
+      "member": "Ext.chart.axis.Axis",
+      "doc": "<p>Renders the axis into the screen and updates it's position.</p>\n",
+      "params": [
+        {
+          "type": "Object",
+          "name": "init",
+          "doc": "\n",
+          "optional": false
+        }
+      ],
+      "return": {
+        "type": "void",
+        "doc": "\n"
+      },
+      "private": false,
+      "static": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Axis.js",
+      "linenr": 199,
+      "html_filename": "Axis.html",
+      "href": "Axis.html#Ext-chart-axis-Axis-method-drawAxis",
+      "shortDoc": "<p>Renders the axis into the screen and updates it's position.</p>\n"
+    },
+    {
+      "tagname": "method",
+      "name": "drawGrid",
+      "member": "Ext.chart.axis.Axis",
+      "doc": "<p>Renders an horizontal and/or vertical grid into the Surface.</p>\n",
+      "params": [
+
+      ],
+      "return": {
+        "type": "void",
+        "doc": "\n"
+      },
+      "private": false,
+      "static": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Axis.js",
+      "linenr": 333,
+      "html_filename": "Axis.html",
+      "href": "Axis.html#Ext-chart-axis-Axis-method-drawGrid",
+      "shortDoc": "<p>Renders an horizontal and/or vertical grid into the Surface.</p>\n"
+    },
+    {
+      "tagname": "method",
+      "name": "drawLabel",
+      "member": "Ext.chart.axis.Axis",
+      "doc": "<p>Renders the labels in the axes.</p>\n",
+      "params": [
+
+      ],
+      "return": {
+        "type": "void",
+        "doc": "\n"
+      },
+      "private": false,
+      "static": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Axis.js",
+      "linenr": 647,
+      "html_filename": "Axis.html",
+      "href": "Axis.html#Ext-chart-axis-Axis-method-drawLabel",
+      "shortDoc": "<p>Renders the labels in the axes.</p>\n"
+    },
+    {
+      "tagname": "method",
+      "name": "setTitle",
+      "member": "Ext.chart.axis.Axis",
+      "doc": "<p>Updates the <a href=\"#/api/Ext.chart.axis.Numeric--title\" rel=\"Ext.chart.axis.Numeric--title\" class=\"docClass\">title</a> of this axis.</p>\n",
+      "params": [
+        {
+          "type": "String",
+          "name": "title",
+          "doc": "\n",
+          "optional": false
+        }
+      ],
+      "return": {
+        "type": "void",
+        "doc": "\n"
+      },
+      "private": false,
+      "static": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Axis.js",
+      "linenr": 708,
+      "html_filename": "Axis.html",
+      "href": "Axis.html#Ext-chart-axis-Axis-method-setTitle",
+      "shortDoc": "<p>Updates the <a href=\"#/api/Ext.chart.axis.Numeric--title\" rel=\"Ext.chart.axis.Numeric--title\" class=\"docClass\">title</a> of this axis.</p>\n"
+    }
+  ],
+  "property": [
+    {
+      "tagname": "property",
+      "name": "adjustMaximumByMajorUnit",
+      "member": "Ext.chart.axis.Numeric",
+      "type": "Boolean",
+      "doc": "<p>Indicates whether to extend maximum beyond data's maximum to the nearest\nmajorUnit.</p>\n",
+      "private": false,
+      "static": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Numeric.js",
+      "linenr": 160,
+      "html_filename": "Numeric.html",
+      "href": "Numeric.html#Ext-chart-axis-Numeric-property-adjustMaximumByMajorUnit"
+    },
+    {
+      "tagname": "property",
+      "name": "adjustMinimumByMajorUnit",
+      "member": "Ext.chart.axis.Numeric",
+      "type": "Boolean",
+      "doc": "<p>Indicates whether to extend the minimum beyond data's minimum to the\nnearest majorUnit.</p>\n",
+      "private": false,
+      "static": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Numeric.js",
+      "linenr": 169,
+      "html_filename": "Numeric.html",
+      "href": "Numeric.html#Ext-chart-axis-Numeric-property-adjustMinimumByMajorUnit"
+    },
+    {
+      "tagname": "property",
+      "name": "decimals",
+      "member": "Ext.chart.axis.Numeric",
+      "type": "Number",
+      "doc": "<p>The number of decimals to round the value to.\nDefault's 2.</p>\n",
+      "private": false,
+      "static": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Numeric.js",
+      "linenr": 134,
+      "html_filename": "Numeric.html",
+      "href": "Numeric.html#Ext-chart-axis-Numeric-property-decimals"
+    },
+    {
+      "tagname": "property",
+      "name": "maximum",
+      "member": "Ext.chart.axis.Numeric",
+      "type": "Number",
+      "doc": "<p>The maximum value drawn by the axis. If not set explicitly, the axis\nmaximum will be calculated automatically.</p>\n",
+      "private": false,
+      "static": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Numeric.js",
+      "linenr": 125,
+      "html_filename": "Numeric.html",
+      "href": "Numeric.html#Ext-chart-axis-Numeric-property-maximum"
+    },
+    {
+      "tagname": "property",
+      "name": "minimum",
+      "member": "Ext.chart.axis.Numeric",
+      "type": "Number",
+      "doc": "<p>The minimum value drawn by the axis. If not set explicitly, the axis\nminimum will be calculated automatically.</p>\n",
+      "private": false,
+      "static": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Numeric.js",
+      "linenr": 116,
+      "html_filename": "Numeric.html",
+      "href": "Numeric.html#Ext-chart-axis-Numeric-property-minimum"
+    },
+    {
+      "tagname": "property",
+      "name": "position",
+      "member": "Ext.chart.axis.Numeric",
+      "type": "String",
+      "doc": "<p>Indicates the position of the axis relative to the chart</p>\n",
+      "private": false,
+      "static": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Numeric.js",
+      "linenr": 152,
+      "html_filename": "Numeric.html",
+      "href": "Numeric.html#Ext-chart-axis-Numeric-property-position"
+    },
+    {
+      "tagname": "property",
+      "name": "scale",
+      "member": "Ext.chart.axis.Numeric",
+      "type": "String",
+      "doc": "<p>The scaling algorithm to use on this axis. May be \"linear\" or\n\"logarithmic\".</p>\n",
+      "private": false,
+      "static": false,
+      "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Numeric.js",
+      "linenr": 143,
+      "html_filename": "Numeric.html",
+      "href": "Numeric.html#Ext-chart-axis-Numeric-property-scale"
+    }
+  ],
+  "event": [
+
+  ],
+  "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/axis/Numeric.js",
+  "linenr": 1,
+  "html_filename": "Numeric.html",
+  "href": "Numeric.html#Ext-chart-axis-Numeric",
+  "cssVar": [
+
+  ],
+  "cssMixin": [
+
+  ],
+  "component": false,
+  "superclasses": [
+    "Ext.chart.axis.Abstract",
+    "Ext.chart.axis.Axis"
+  ],
+  "subclasses": [
+
+  ],
+  "mixedInto": [
+
+  ],
+  "allMixins": [
+
+  ]
+});
\ No newline at end of file