Highcharts

Highcharts: set regular intervals on xaxis

折月煮酒 提交于 2019-12-13 06:16:07
问题 I have a series of data values over time (determined by a count). Data is provided at n minute intervals (count x interval); typically the data will be 96 x 15 (96 15minute intervals to give 24 hours). The length of the intervals and the count are both dynamic. The data series can be numerous types of data; it could be in numerous formats like 0.000123 or 1.23 or 198763.0000089675. I would like my xaxis to show time in 1 hour intervals (screen real estate is small, so 2 hour intervals might

highchart select an area to show some info by clicking and drag mouse but not release

会有一股神秘感。 提交于 2019-12-13 06:03:44
问题 I am currently working on the highchart and I wish to implement a feature that when you click mouse and drag it over the chart, a tooltip will show up to indicate the start and end date (x-Axis) of your selection. Currently, I can only find events.selection, but you need to release the mouse by triggering this event. Is there a way to achieve a "area selection" function without releasing mouse? Any hint will be appreciated! Thanks 回答1: Update While I was looking for the plug-in I used(

How can I force multiple y-axis in Highcharts to have a common zero when min/max values are not in same ratio above 0 and below 0 for all the y-axis

帅比萌擦擦* 提交于 2019-12-13 05:58:03
问题 The link mentioned below and the posted code helped me to fix this issue partially but I do see issues when min/max values are not in same ratio above 0 and below 0 for all the y-axis(see the scenario# 2 values). Scenario# 1: Working when values are something like below Y-Axis 1 - Min/MAX: -750/+750, Y-Axis 2 - Min/MAX: -10/+10, Y-Axis 3 - Min/MAX: -1/+1 Scenario# 2: See 0's aren't aligned correctly when values are like below Y-Axis 1 - Min/MAX: -1000/+750, Y-Axis 2 - Min/MAX: -15/+15, Y-Axis

Issue with highchart data display when parsing JSON data

人盡茶涼 提交于 2019-12-13 05:54:05
问题 I am trying to dynamically fetch the data from a PhP module, load it as JSON data into javascript and use this data to generate a Pie chart using HighCharts. The Pie chart is generating properly when I am using some static data but not loading when I am parsing JSON data and feeding that as input to the Highchart series object. I am sure this is something to do with the formatting of data while inputting to Highcharts but I am not able to figure that out for sometime now :( So thought would

Highcharts bar chart with varied bar widths?

冷暖自知 提交于 2019-12-13 05:53:22
问题 I want to make stacked bar chart where each portion has a width that encodes one value (say "Change" in the data below) and a height that encodes another value ("Share") In some ways this is like a histogram with different bin sizes. There are a few "histogram" questions but none seem to address this. Plot Histograms in Highcharts So given data like this: Category Share Price Change Apples 14.35 0.1314192423 Horseradish 46.168 0.1761474117 Figs 2.871 0.018874249 Tomatoes 13.954 0.0106121298

how to remove of y -axis label in chart?

与世无争的帅哥 提交于 2019-12-13 05:46:18
问题 could you please tell me remove labels y axis labels .I make a simple chart using fusion library . http://www.fusioncharts.com/dev/chart-attributes.html?chart=area2d I saw some y axis label 0$,4$,12$..etc I want to remove that label .I need to show chart like this as shown in image [![enter image description here][1]][1] http://jsfiddle.net/Tu57h/135/ can we show this on right side as shown in image ? here is my code http://jsfiddle.net/Tu57h/135/ FusionCharts.ready(function () { var

passsing data to https by JSON using JSONP

我与影子孤独终老i 提交于 2019-12-13 05:35:49
问题 i had try many diffrent tutarials and examples from http://api.jquery.com/jQuery.getJSON/ and Post data to JsonP and saw many staffs about how to convert json data to jasonP but still i can not do it,is there any one could see how should i pass my data over https within my codes here which i am using highcharts to get data from my domain sql server which is in diffrent server than my webpages host.here is my codes:(i know which i should use ajax request but i dont know how in my case,if

Issue having blank graphic in Highchart script

自古美人都是妖i 提交于 2019-12-13 05:31:52
问题 I followed steps from http://www.highcharts.com/demo/column-basic/skies and the issue is that my values from my controller to my Highchart graphic is showing blank ( is not showing my value) Here my tables http://sqlfiddle.com/#!2/b7347/5 that i use in my controller |policies| ID POLICY_NUM DATE_INI CATEGORY_ID 1 1234 2013-01-10 1 2 5678 2013-01-10 2 3 3444 2013-02-10 1 4 4577 2013-02-10 2 |categories| ID NAME 1 Life 2 Vehicles Here is my controller def report @jan_life =Policy.find_by_sql(

Why is the Highcharts tick placement different in two similar charts?

最后都变了- 提交于 2019-12-13 05:26:40
问题 I have a question regarding the tick placement in two similar Highcharts chart. In the first example, I have specified the xAxis property and in the second example I have specified an x and y value in the series. The data is exactly the same, but as you can see the ticks are placed differently. I have tried to play around with the tickmarkPlacement , minPadding , maxPadding to make the first example look like the second, but without success. Could someone tell me wy the two charts, place