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

Column type not working for DateTime axis

Thread ID:

Created:

Updated:

Platform:

Replies:

124667 Jun 21,2016 09:56 AM Jun 22,2016 09:09 AM JavaScript 1
loading
Tags: ejChart
Rob ONeill
Asked On June 21, 2016 09:56 AM

Hi,
We have Charts that have a datetime x-axis with values on the y-axis. Line and Area charts work fine, but Column charts do not render correctly. It seems anything over a days worth of data, and they chart doesn't render.

See example - http://jsplayground.syncfusion.com/zr5bsrlz

This produces a chart with columns for the selected datetimes, but if you uncomment the last object in the series, and then re-plot you will see that the chart doesn't render

Setting the sideBySideSeriesPlacement doesn't seem to make any difference.

Cheers .... Rob.

Sanjith Kesavan [Syncfusion]
Replied On June 22, 2016 09:09 AM

Hi Rob, 

Thanks for contacting Syncfusion support. We have analyzed your query and the playground sample attached by you. Last object in the series contains the data in 9th January but all other data in 12th January and also in the sample range and interval is not specified. Interval is automatically calculated in hours. And also we are having 10 series for the chart. Based on the number of series, column width will be calculated. So column is render with very small width and so much of white space is left between January 9th and 12th. In your sample, you have set the columnwidth as 0.05 for every series. So the columns are rendered with 0.05 width which is too small to see. We have set the columnwidth as 1. Now the chart will render like below. 

 

For see the points clearly, please zoom the chart. Please find the below screenshot. 

 

In the below link, we have modified and attached sample for your reference.  

Regards, 
Sanjith.  


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

;