]>
git.proxmox.com Git - extjs.git/blob - extjs/examples/kitchensink/classic/samples/view/charts/column3d/Stacked100.js
2 * 100% stacked 3D columns are column charts where categories are stacked
3 * on top of each other. The value of each category is recalculated, so that
4 * it represents a share of the whole, which is the full stack and is equal
7 Ext
.define('KitchenSink.view.charts.column3d.Stacked100', {
9 xtype
: 'column-stacked-100-3d',
10 requires
: ['Ext.chart.theme.Muted'],
11 controller
: 'column-stacked-100-3d',
13 // Content between example tags is omitted from code preview.
14 bodyStyle
: 'background: transparent !important',
17 path
: 'classic/samples/view/charts/column3d/Stacked100Controller.js'
20 path
: 'classic/samples/store/Browsers.js'
32 interactions
: ['itemhighlight'],
36 innerPadding
: '0 3 0 0',
44 animation
: Ext
.isIE8
? false : {
52 fields
: ['data1', 'data2', 'data3', 'data4', 'other' ],
53 renderer
: 'onAxisLabelRender',
70 title
: [ 'IE', 'Firefox', 'Chrome', 'Safari', 'Others' ],
72 yField
: [ 'data1', 'data2', 'data3', 'data4', 'other' ],
75 brightnessFactor
: 1.2,
80 renderer
: 'onTooltipRender'
85 text
: 'Usage share of desktop browsers',
89 x
: 40, // the sprite x position
90 y
: 20 // the sprite y position
93 text
: 'Data: Browser Stats 2012',
99 text
: 'Source: http://www.w3schools.com/',