[
Log In
]
HOME
SAMPLES
DOCS
DOWNLOAD
LICENSING/PRICING
SUPPORT
FORUM
WHAT'S NEW
PRODUCT ROADMAP
ABOUT US
Home
\
Support
\ Forum
Welcome Guest
Search
|
Active Topics
|
ERROR
DataViz Charts and Gauges
»
DataViz Charts Forums
»
DataViz Charts and Gauges for JavaScript/jQuery
»
Unwanted axes
Unwanted axes
Options
Previous Topic
Next Topic
BBocian
#1
Posted :
Tuesday, June 17, 2014 7:38:08 AM(UTC)
Rank: Newbie
Groups: Registered
Joined: 5/29/2014(UTC)
Posts: 4
Thanks: 0 times
Was thanked: 1 time(s) in 1 post(s)
Hi,
I am inserting a lot of data inside a chart, some of the series are empty or have only single point and i can't check what series is currently added. Some of the series generate additional X axes that i don't want. Do you have any idea what generates them ?
Back to top
User Profile
View Thanks
Dragan
#2
Posted :
Tuesday, June 17, 2014 7:41:44 AM(UTC)
Rank: Advanced Member
Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483
Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
Is it possible to send us your code (
support@jqchart.com
), so we can check it?
Best Regards,
Dragan Matek
jqChart Inc.
Back to top
User Profile
View Thanks
BBocian
#3
Posted :
Wednesday, June 18, 2014 2:08:08 AM(UTC)
Rank: Newbie
Groups: Registered
Joined: 5/29/2014(UTC)
Posts: 4
Thanks: 0 times
Was thanked: 1 time(s) in 1 post(s)
I got it on my own, in few series i was adding Points like [null, Y] or [X, null] from the data i was getting and this was causing it
Back to top
1 user thanked BBocian for this useful post.
gerrit
on 11/16/2014(UTC)
User Profile
View Thanks
gerrit
#4
Posted :
Sunday, November 16, 2014 8:00:46 AM(UTC)
Rank: Newbie
Groups: Registered
Joined: 11/1/2014(UTC)
Posts: 5
Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
Thanks a lot for this post! But I consider this to be a bug of jqCharts that unwanted axes spring into existence, whenever it is fed with sparse arrays. Having to do something like the following looks like a workaround to me:
Code:
for (var i = 0; i < array1.length; i++) {
for (var j = 0; j < array2.length; j++) {
if (typeof(array1array2[i])=='undefined') array1array2[i] = new Array();
if (typeof(array1array2[i][j])=='undefined') array1array2[i][j] = 0;
}
}
Back to top
User Profile
View Thanks
Users browsing this topic
Guest
(2)
DataViz Charts and Gauges
»
DataViz Charts Forums
»
DataViz Charts and Gauges for JavaScript/jQuery
»
Unwanted axes
Forum Jump
DataViz Charts Forums
- DataViz Charts and Gauges for JavaScript/jQuery
- DataViz Charts and Gauges for ASP.NET MVC
- DataViz Charts for ASP.NET Web Forms
You
cannot
post new topics in this forum.
You
cannot
reply to topics in this forum.
You
cannot
delete your posts in this forum.
You
cannot
edit your posts in this forum.
You
cannot
create polls in this forum.
You
cannot
vote in polls in this forum.
Watch this topic
Email this topic
Print this topic
RSS Feed
Normal
Threaded
FlatEarth Theme by Jaben Cargman (
Tiny Gecko
)
Powered by YAF 1.9.4
|
YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.082 seconds.