highstock

Highstock gapsize is causing line rendering issue

耗尽温柔 提交于 2019-12-11 23:28:13
问题 I'm using Highstock (v4.2.3) to present data in a StockChart with a number of different Y axes, all plotted against time on the X axis. The data has gaps in it, and I'd like to depict those gaps, but when I turn on gapSize (with any value other than zero), there's a weird quirk that causes line rendering issues--when using the navigator to zoom in on certain date ranges (not all), in some cases (whose pattern I've yet to discern) the chart fails to fully render the line across the entire x

Howto combine Highstock (Highcharts) 'addPoint' function with flags

旧街凉风 提交于 2019-12-11 23:18:49
问题 Using the Highstock (Highcharts) library, I'm wondering, how do I combine A) adding flags as in here (or see fig.1 ) with B) dynamically updating data, using the addPoint function (ex: series.addPoint([x, y], true, true) see here). There doesn't seem to be a facility for it in the addPoint function. series : [{ name : 'USD to EUR', data : data, id : 'dataseries' }, { type : 'flags', data : [{ x : Date.UTC(2011, 3, 25), title : 'H', text : 'Euro Contained by Channel Resistance' }], onSeries :

Highstock - flag text appears on top of the tooltip

醉酒当歌 提交于 2019-12-11 22:22:50
问题 I'm using Highstock.JS to display a chart. But the text label on flags appear on top of the tooltip. (Picture attached). Any idea on how to fix this? 回答1: Probably you have set useHTML for dataLabels for flags - disable it and will work. useHTML create html tags, which are always above SVG elements (like tooltip background). 来源: https://stackoverflow.com/questions/18758912/highstock-flag-text-appears-on-top-of-the-tooltip

How to change the height of a pane in highstock?

时光毁灭记忆、已成空白 提交于 2019-12-11 22:07:09
问题 Is there a way to drag and change the height of highstock pane in the demo here. Something like we can do for webstock here. thanks 回答1: Unforurtantley this option is not possible, but I advice to post your suggestion on uservoice: http://highcharts.uservoice.com/ 来源: https://stackoverflow.com/questions/20279359/how-to-change-the-height-of-a-pane-in-highstock

Is it possible to remove a pane in highstock/highcharts?

佐手、 提交于 2019-12-11 21:43:03
问题 Suppose I have two panes in my highstock, can I remove one of the panes dynamically. So if I click on a pane, I should be able to trap the event alongwith the id of the pane(yaXis) and subsequently delete the axis alongwith its series. I have added the panes dynamically like following( so I axis have Id etc. with me) chartX.addAxis({ // Secondary yAxis id: studyName, title: { text: studyText }, isX: false, lineWidth: 2, lineColor: '#08F', //opposite: true, top: startHeight, height: 100,

Highstock - Set extremes beyond the data range

早过忘川 提交于 2019-12-11 19:58:29
问题 I have a highstock chart with data in the range [t1 , t2] in the x axis, and I want to set the axis extremes to [t1, t3], being t3 higher than t2, resulting this in a portion of the chart with no data. The chart has no navigator nor scrollbar nor range selector. When I try to do this ... chart.xAxis[0].setExtremes(extremes.min, extremes.max + ((30 * 60 * 1000))); ... it seems like highstock is replacing the max I provide with the max of the data, but if I log the axis extremes after calling

Highcharts/Highstock supported in Google Sites?

ぃ、小莉子 提交于 2019-12-11 19:46:27
问题 Is it possible to embed Highcharts scripts in Google sites? I've tried inserting an HTML box and also throwing everything in an HTML file and calling it via a Google Apps script. So far, both methods just give me all the text from the graph (title, axis labels, etc.), but no graph. I know embedding JS in a Google site is kind of tricky, but can this be done? 回答1: No. SVG (which Highcharts uses) is not supported within Caja (which an HTML Box and Apps Script use to sanitize and ensure safe

HighStock doesn't work with gapsize the same way

筅森魡賤 提交于 2019-12-11 17:07:18
问题 I have some data that was taken every minute. But there are irregular gaps in it. I'm using stockchart (v6.0.5) with the 'line' chart type and my xAxis is 'datetime'. I want that the gaps don't cut the xAxis in pieces but rather reflect the time that has passed as in http://jsfiddle.net/VwkHu/177/ . I don't really want to fill in Null values in my dataset as the gaps can be large. How can I get this behavior with stockchart? BTW: If I change in the upper mentioned fiddle to stock chart by

Highstock - Single line series-Dynamically create marker based on a trigger

╄→尐↘猪︶ㄣ 提交于 2019-12-11 16:52:26
问题 I am using Highstock - Single line series for plotting data.http://www.highcharts.com/stock/demo/basic-line. I want to know how to create marker on certain points based on a trigger.If a sudden increase happens in y axis,i want create a marker on that point(ie sudden increase happend from 460 to 470,i want to create a marker on 470).I want to do it in client level.How can i do this.Can anyone help on this.Ataching screenshot,what ideally i need.I want to create marker on highlighted red

Highstock Issue - Can't draw and plot chart correctly

北城以北 提交于 2019-12-11 16:34:35
问题 I'm working on project to display stock information using Highstock . Question 1: I tried to display ohlc data using ohlc graph, high and low using areasplinerange graph, and volume using column chart. Everything works fine, if i zoom 1m , 3m , 6m , YTD , and 1y . Here is the snapshot. link1. But if zoom to All , The graph messed up like this link2. Am i wrong in my coding or it's bug? Question 2: In the same chart, I have code to change the type of graph from ohlc to line . It works fine