It is currently Thu Oct 23, 2014 9:10 pm Advanced search

scatter datagrouping with non-date xAxis

Technical support for the Highcharts Stock package

scatter datagrouping with non-date xAxis

Postby Dudemullet » Sun Feb 12, 2012 5:48 am

Hi guys, So I'm trying to use dataGrouping with a scatter chart. The thing is this, I have multiple series but at least the same rules apply to all of them. The thing is that my xAxis is not date based. In fact its mostly decimal point values that have very little variation.

I have a demo (jsFiddle) set up so that you can get an idea of how I have it looking:
http://jsfiddle.net/Dudemullet/f2xAs/

So maybe you can see how this doesn't have a problem, but that data set has 360 entries. I'm trying to make it as smooth with a 15k entry data set that will also have different series'. And I can't get datagrouping to group my points correctly. I've already set the "forced" flag to true and I can't seem to understan how the approximation callback works.

It would be great help if in the example i put up, you can somehow datagroup my series'.
Thank you
Dudemullet
 
Posts: 1
Joined: Sun Feb 12, 2012 5:40 am

Re: scatter datagrouping with non-date xAxis

Postby hfrntt » Wed Feb 22, 2012 12:18 am

Hi, sorry for late reply. Have you tried to play with dataGrouping units (http://www.highcharts.com/stock/ref/#pl ... ing--units)? In your data every x value is between 0 and 1, but the smallest unit is 1, so dataGrouping doesn't do anything here.
Slawek Kolodziej
Highcharts support team
hfrntt
 
Posts: 6394
Joined: Mon Aug 30, 2010 10:41 am


Return to Highstock Usage

Who is online

Users browsing this forum: No registered users and 1 guest