$("#WindRose").ejChart(
{
border: { width: 0, color: 'black' },
//Initializing Primary X Axis
primaryXAxis:
{
title: { text: 'Dirección [°]' },
labelPlacement: 'onticks'
},
//Initializing Primary Y Axis
primaryYAxis:
{
title: { text: 'Altura [m]' },
labelFormat: "{value}%"
},
//Initializing Common Properties for all the series
commonSeriesOptions:
{
type: 'polar',
enableAnimation: true,
isStacking: true,
drawType: 'column',
marker:
{
shape: 'circle',
size:
{
height: 50, width: 10
},
visible: false
},
border: { color: 'white', width: 0.5 }
},
//Initializing Series
series:
[
{
points: [{ x: 'N', y: 0.0 }, { x: 'NNE', y: 0.0 }, { x: 'NE', y: 0.0 }, { x: 'ENE', y: 0.0 },
{ x: 'E', y: 0.0 }, { x: 'ESE', y: 0.0 }, { x: 'SE', y: 0.0 }, { x: 'SSE', y: 0.0 },
{ x: 'S', y: 0.0 }, { x: 'SSW', y: 0.0 }, { x: 'SW', y: 0.0 }, { x: 'WSW', y: 0.0 },
{ x: 'W', y: 0.0 }, { x: 'WNW', y: 0.0 }, { x: 'NW', y: 0.0 }, { x: 'NNW', y: 0.0 }],
name: '0.0 - 0.2 [m]',
fill: '#6666FF'
},
{
points: [{ x: 'N', y: 0.0 }, { x: 'NNE', y: 0.0 }, { x: 'NE', y: 0.0 }, { x: 'ENE', y: 0.0 },
{ x: 'E', y: 0.0 }, { x: 'ESE', y: 0.0 }, { x: 'SE', y: 0.0 }, { x: 'SSE', y: 0.0 },
{ x: 'S', y: 0.0 }, { x: 'SSW', y: 0.0 }, { x: 'SW', y: 0.0 }, { x: 'WSW', y: 0.0 },
{ x: 'W', y: 0.0 }, { x: 'WNW', y: 0.0 }, { x: 'NW', y: 0.0 }, { x: 'NNW', y: 0.0 }],
name: '0.2 - 0.4 [m]',
fill: '#4DB797'
},
{
points: [{ x: 'N', y: 0.0 }, { x: 'NNE', y: 0.0 }, { x: 'NE', y: 0.0 }, { x: 'ENE', y: 0.0 },
{ x: 'E', y: 0.0 }, { x: 'ESE', y: 0.0 }, { x: 'SE', y: 0.0 }, { x: 'SSE', y: 0.0 },
{ x: 'S', y: 0.0 }, { x: 'SSW', y: 0.0 }, { x: 'SW', y: 0.0 }, { x: 'WSW', y: 0.0 },
{ x: 'W', y: 0.0 }, { x: 'WNW', y: 0.0 }, { x: 'NW', y: 0.0 }, { x: 'NNW', y: 0.0 }],
name: '0.4 - 0.6 [m]',
fill: '#97D6E8'
},
{
points: [{ x: 'N', y: 0.0 }, { x: 'NNE', y: 0.0 }, { x: 'NE', y: 0.0 }, { x: 'ENE', y: 0.0 },
{ x: 'E', y: 0.0 }, { x: 'ESE', y: 0.0 }, { x: 'SE', y: 0.0 }, { x: 'SSE', y: 0.0 },
{ x: 'S', y: 0.0 }, { x: 'SSW', y: 0.0 }, { x: 'SW', y: 0.0 }, { x: 'WSW', y: 0.0 },
{ x: 'W', y: 0.0 }, { x: 'WNW', y: 0.0 }, { x: 'NW', y: 0.0 }, { x: 'NNW', y: 0.0 }],
name: '0.6 - 0.8 [m]',
fill: '#FEE378'
},
{
points: [{ x: 'N', y: 0.0 }, { x: 'NNE', y: 0.0 }, { x: 'NE', y: 0.0 }, { x: 'ENE', y: 0.0 },
{ x: 'E', y: 0.0 }, { x: 'ESE', y: 0.0 }, { x: 'SE', y: 0.0 }, { x: 'SSE', y: 0.0 },
{ x: 'S', y: 0.0 }, { x: 'SSW', y: 0.0 }, { x: 'SW', y: 0.0 }, { x: 'WSW', y: 0.0 },
{ x: 'W', y: 0.0 }, { x: 'WNW', y: 0.0 }, { x: 'NW', y: 0.0 }, { x: 'NNW', y: 0.0 }],
name: '0.8 - 1.0 [m]',
fill: '#FD9D6F'
},
{
points: [{ x: 'N', y: 0.0 }, { x: 'NNE', y: 0.0 }, { x: 'NE', y: 0.0 }, { x: 'ENE', y: 0.0 },
{ x: 'E', y: 0.0 }, { x: 'ESE', y: 0.0 }, { x: 'SE', y: 0.0 }, { x: 'SSE', y: 0.0 },
{ x: 'S', y: 0.0 }, { x: 'SSW', y: 0.0 }, { x: 'SW', y: 0.0 }, { x: 'WSW', y: 0.0 },
{ x: 'W', y: 0.0 }, { x: 'WNW', y: 0.0 }, { x: 'NW', y: 0.0 }, { x: 'NNW', y: 0.0 }],
name: '1.0 - > [m]',
fill: '#F37021'
}
],
load: "loadTheme",
size: { height: '350' },
legend: { visible: true, position: 'right', alignment: 'near' }
});
Thanks for your help.