Code: Select all
drawLine: function(state) {
var series = this,
realSegments = series.segments;
// temporarily set the segments to reflect the spline
series.segments = series.splinedata || series.getSplineData();
// draw the line
LineSeries.prototype.drawLine.apply(series, arguments);
// reset the segments
series.segments = realSegments;
},
Code: Select all
[
{name:"BABY",data:[[1257282000000,0],[1259830800000,0],[1259834400000,2],[1259838000000,1],[1259841600000,0],[1259845200000,5],[1259848800000,0],[1259875805225,0]]},
{name:"JAP",data:[[1257282000000,0],[1259794800000,0],[1259798400000,1],[1259802000000,0],[1259875805225,0]]},
{name:"LUV",data:[[1257282000000,0],[1259830800000,0],[1259834400000,1],[1259838000000,0],[1259841600000,0],[1259845200000,1],[1259848800000,2],[1259852400000,1],[1259856000000,0],[1259875805225,0]]}
]
No problem! Power users like yourself keep pushing my products forwards. It's in my best interest.Sorry to rain on the parade, Tor! Thanks for all your hard work and dedication!
What if you do document.getElementById('container').innerHTML = '"" first? Anyway, one of the things on the roadmap for future releases is to add more dynamic features to Highchart. Dynamically update series, add points etc.Also looks like attempting to "refresh" the chart by creating a new Highcharts.Chart....
Try setting a zIndex value on the container div itself.Also also, the "Reset Zoom" link appears on top of other page elements
I'll try "normalizing" the data to even up the data points, and see if that works. When you think about it, this sort of makes sense as a requirement for the "stacked" chart types.admin wrote:It seems like it is the uneven spacing of your datetime data that does the difference.
Tried that. It doesn't appear to have any effect, strangely. Actually, now that I think about it, that is[/s] strange! Maybe this is related to the "too much recursion" error I keep seeing? Like, I don't know, the browser renderer is running out of memory or something? (No idea what I'm talking about now...)admin wrote: What if you do document.getElementById('container').innerHTML = '"" first?
admin wrote:Try setting a zIndex value on the container div itself.
Code: Select all
point is undefined
refresh(Object name=point, Object chart=Object options=Object name=BABY visible=true)2 (line 2457)
onmousemove(mousemove clientX=803, clientY=101)2 (line 2048)
anonymous(mousemove clientX=803, clientY=101)
(2475 out of range 115)
Code: Select all
setStyles(div, Object left=183px top=379px)2 (line 585)
move(185, 381)2 (line 2551)
move(185, 381)2 (line 2557)
move(185, 381)2 (line 2557)
move(185, 381)
Code: Select all
Highcharts.setOptions({
colors: [
'#7cac44',
'#cc2b2b',
'#ecb25f'
]
});