highstock

Highcharts doesn't display series with lots of data points

喜夏-厌秋 提交于 2019-12-21 03:36:06
问题 I have a chart that I would like to display based on a date range from the user. This particular chart has a data point for every 15 minutes. So there can be a lot of data points for each series if a users selects a large date range. Here is a couple of examples: 623 data points in a series 1470 data points in a series In the first example the chart does display. In the second example the chart does not display. There is a Highstock demo (52,000 points with data grouping) that works with a

Highstock: How to combine lazy loading AND dynamic data?

旧时模样 提交于 2019-12-20 09:42:18
问题 I'm trying to combine lazy loading with dynamically updated data in Highstock. The idea is to have a large historical down-to-the-minute chart (with millions of data points) which is at the same time updated in real time (if the user scrolls to the right edge). To prevent circular loading while loading data lazily, I need to set: navigator : { adaptToUpdatedData: false } However, with this setting, adding a new data point to the chart does not update the navigator anymore and this prevents me

Data Grouping - Monthly (end-of-month)

戏子无情 提交于 2019-12-19 07:12:36
问题 I'm having a very difficult time trying to get my data to be grouped via month. I've even gone so far as to programmatically filter through my data to return only the last day of the month and calculate the monthly value. I've tried to find a good explanation on the 'dataGrouping' property but have had no luck understanding it nor properly implementing it. Every results returns my series in a daily interval. My questions are as follows: Is there a minimum number of data points needed for data

Data Grouping - Monthly (end-of-month)

一个人想着一个人 提交于 2019-12-19 07:12:19
问题 I'm having a very difficult time trying to get my data to be grouped via month. I've even gone so far as to programmatically filter through my data to return only the last day of the month and calculate the monthly value. I've tried to find a good explanation on the 'dataGrouping' property but have had no luck understanding it nor properly implementing it. Every results returns my series in a daily interval. My questions are as follows: Is there a minimum number of data points needed for data

Data Grouping - Monthly (end-of-month)

天大地大妈咪最大 提交于 2019-12-19 07:12:01
问题 I'm having a very difficult time trying to get my data to be grouped via month. I've even gone so far as to programmatically filter through my data to return only the last day of the month and calculate the monthly value. I've tried to find a good explanation on the 'dataGrouping' property but have had no luck understanding it nor properly implementing it. Every results returns my series in a daily interval. My questions are as follows: Is there a minimum number of data points needed for data

Is it possible to hide the navigator in highcharts at runtime?

有些话、适合烂在心里 提交于 2019-12-19 03:21:23
问题 I am working on a highcharts project where we have a requirement to show/hide the navigator at runtime, depending on the value of an on screen filter. We already add/show/hide various series of data - but I cannot find an api call which will allow me to dynamically hide the navigator at runtime? Does anyone know of a way to do this - I am reluctant to reload the whole chart unless I have to. Thanks folks! 回答1: You can hide all particular SVG navigator elements by hide() function. http:/

Want to take difference between single series data and show them on chart in highcharts/highstock

这一生的挚爱 提交于 2019-12-18 09:38:41
问题 I am working on asp.net MVC 5 Referring to my question i want to take difference between each two points like this 2-1 3-2 4-3 5-4 and so on and then put them into my series data in chart Bellow is my controller code //Getting data from DB to view in charts SqlCommand Device_Id_command = new SqlCommand("Select Device_ID, Energy_kWh,Power_kW,Voltage_Phase_1,Data_Datetime,Voltage_Phase_2,Voltage_Phase_3,Current_Phase_1,Current_Phase_2,Current_Phase_3 from [ADS_Device_Data] where Device_Serial

Highstock X-Axis: Categories in Place of Time

心已入冬 提交于 2019-12-18 09:11:32
问题 Is it possible to use categories as x-values in Highstock? I don't need a time bar as x-axes, but something like numbered ratings. This works in Highcharts, but i need the scrollbar functionality from Highstock. 回答1: You can use highstock release, but use highcharts and scrollbar. Take look at example: var chart = new Highcharts.Chart({ chart: { renderTo: 'container' }, xAxis:{ min:0, max:2, categories:['first','second','third','fourth'] }, scrollbar: { enabled: true }, rangeSelector: {

How to position RangeSelector / zoom buttons at custom co-ordinates in Highstock

穿精又带淫゛_ 提交于 2019-12-18 06:39:04
问题 I am using highstock charts and wish to move the zoom buttons (1m,2m,etc) to a different position. I checked their API and there doesn't seem to be an option to do that currently. Also the source code suggests that this location is hardcoded and hence i don't think I can easily inject the position using some undocumented property Highstock Source Highcharts.RangeSelector.prototype.render = function (min, max) { ... rangeSelector.zoomText = renderer.text(lang.rangeSelectorZoom, plotLeft, chart

How to enable Highcharts scrollbar?

房东的猫 提交于 2019-12-18 04:50:56
问题 I tried doing the scrollbar: { enabled: true } But it didnt work. I tried using the highcharts.js that comes with highstocks.. that did not work either. Am I doing something wrong? 回答1: If your code still doesn't work, you could try changing this : <script type="text/javascript" src="js/highcharts.js"></script> with this : <script type="text/javascript" src="https://code.highcharts.com/stock/highstock.js"></script> and you can add this : scrollbar: { enabled: true }, finally, you can add this