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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

chart

Thread ID:

Created:

Updated:

Platform:

Replies:

118358 Mar 2,2015 12:12 PM UTC Mar 3,2015 05:05 AM UTC JavaScript 1
loading
Tags: ejChart
kalpa serashiya
Asked On March 2, 2015 12:12 PM UTC

1.Format X label value.
2.show datalabel as
 shown in attached Image 

Attachment: Untitled_46f29259.rar

Jayavigneshwaran [Syncfusion]
Replied On March 3, 2015 05:05 AM UTC

Hi Kalpa,

Thanks for using Syncfusion product.

We have analyzed this and made a sample as shown in attached screen shot. Find it from the below location
bar.zip

To display the labels as mentioned use the below format

[JS]

     $("#container").ejChart(

                        {

                            primaryXAxis:

                            {

                                labelFormat: "dd/MM/yyyy"

                            }

                 });

Data label can be rendered in that position by specifying the below options

[JS]

     $("#container").ejChart(

                        {

                            commonSeriesOptions: {

                                type: 'bar',

                                marker:{

                                   dataLabel: {

                                      visible:true, horizontalTextAlignment : "far", font:{color:"#015690"}},

                                  }

                              }

                        });

The below link helps in understanding the options available for customizing the data labels

Link : http://help.syncfusion.com/ug/js/documents/datalabels.htm

The below screen shot shows the output of the attached sample

Please let us know if you have any concern.

Thanks,

Jayavigneshwaran



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

;