]>
git.proxmox.com Git - extjs.git/blob - extjs/build/examples/kitchensink/classic/samples/view/charts/bar3d/Basic.js
2 * A basic 3D bar chart is a chart with horizontal bars of lengths proportional to the
3 * magnitudes of the data it represents. Basic 3D bars can be used in the same manner as the
4 * 3D column charts. Categories are typically organized along the vertical axis and values
5 * along the horizontal axis. Tapping or hovering a bar will highlight it.
7 Ext
.define('KitchenSink.view.charts.bar3d.Basic', {
10 controller
: 'bar-basic-3d',
13 'Ext.chart.theme.Muted'
17 // Content between example tags is omitted from code preview.
18 bodyStyle
: 'background: transparent !important',
25 path
: 'classic/samples/view/charts/bar3d/BasicController.js'
28 path
: 'classic/samples/store/EconomySectors.js'
39 insetPadding
: '40 40 30 40',
40 innerPadding
: '3 0 0 0',
45 type
: 'economy-sectors'
51 interactions
: ['itemhighlight'],
58 renderer
: 'onAxisLabelRender',
59 title
: 'Billions of USD',
62 fillStyle
: 'rgba(245, 245, 245, 1.0)'
65 fillStyle
: 'rgba(255, 255, 255, 1.0)'
88 renderer
: 'onSeriesLabelRender'
92 renderer
: 'onSeriesTooltipRender'
97 text
: 'Industry size in major economies (2011)',
101 x
: 40, // the sprite x position
102 y
: 20 // the sprite y position
105 text
: 'Source: http://en.wikipedia.org/wiki/List_of_countries_by_GDP_sector_composition',