We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Wind Rose: labels lost

Thread ID:

Created:

Updated:

Platform:

Replies:

119944 Aug 18,2015 02:21 AM UTC Aug 18,2015 01:15 PM UTC JavaScript 1
loading
Tags: ejChart
Julio
Asked On August 18, 2015 02:21 AM UTC

Hello, 

I have a problem with the Wind Rose. I don't know why, but some labels are lost; it has to be 16 but it shows 8 labels. I attached a screenshot and the code:

$("#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' }
        });

wind rose



Thanks for your help.

Sanjith Kesavan [Syncfusion]
Replied On August 18, 2015 01:15 PM UTC

Hi Julio,
Thanks for using Syncfusion product.
We have analyzed your query and prepared the sample using the code provided in the update. We cannot able to reproduce the issue in our side.
Please find the below screenshot
Screen shot:

In the above screen shot all the 16 labels displayed.

Please find the sample in the below link
Sample Link: http://www.syncfusion.com/downloads/support/forum/119944/ze/Windrose-32305035
Please mention which version of the ej.web.all.min.js. This will be useful for us to help you.

Please let us know if you have any queries.

Regards,

Sanjith K.​



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;