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.

JQuery error when line graph has only one point

Thread ID:

Created:

Updated:

Platform:

Replies:

112514 Sep 26,2013 03:04 AM Oct 10,2013 05:41 AM JavaScript 7
loading
Tags: ejChart
Pradeep
Asked On September 26, 2013 03:04 AM

In one particular scenario, the data returned from the back end
has only one record. hence only one point on a line graph. I assumed that
no line would be drawn, and I will only see a point. But I get this error.

https://www.dropbox.com/s/ll4pfpp5u6siq9j/question_6_3_single_point.jpg
https://www.dropbox.com/s/9bz1f6loijzdd01/question_6_4_single_point.jpg

Can line graphs not have only one point?


Gowrimathi S [Syncfusion]
Replied On September 27, 2013 07:52 AM

Hi Pradeep,

Thanks for sharing detail with us.

We have tested the reported issues based on the screenshot. We are able to reproduce the issue. We fixed the issue and this fix will be included in version 1 of JS Essential studio release.

Please let us know, if you have any further assistance.

Regards

Gowrimathi  


Pradeep
Replied On October 3, 2013 01:49 AM

I would like to add that the same error occurs on the bar graph as well.
If there is only one point. The graph does not render.


Pradeep
Replied On October 3, 2013 02:46 AM

Just to know when will the next release be!!!?

Gowrimathi S [Syncfusion]
Replied On October 3, 2013 06:14 AM

Hi Pradeep,

Thanks for your updates, the next Essential JS release will be in the mid of December.

Regards
Gowrimathi S

Pradeep
Replied On October 8, 2013 03:08 AM

I know you guys are putting max effort in this, and I am ver pleased with the amount
of support you've been providing me, but is there no possibility to fix this before that??!.

How is it possible to use the graph in any application, when data
set for a bar graph having only one point is a very real scenario,
which would occur often.!!!!

Pradeep
Replied On October 9, 2013 03:13 AM

OK a quick fix to this on the bar graph is to add an extra point
with x:"", y:"0"
. This makes the graph think there
are 2 points, but the 2nd point will not be visible as it is 0, and the label
is empty. cheers


Gowrimathi S [Syncfusion]
Replied On October 10, 2013 05:41 AM

Hi Pradeep

 

Thanks for sharing the information with us. Sorry for the inconvenience caused, we have fixed the issue and this fix will be included in next Essential JS release.

 

Regards

Gowrimathi S


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.

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.

;