Highcharts

Highchart Data from HTML table with line series

北慕城南 提交于 2019-12-13 04:25:53
问题 Heres and example loading from an html table http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/column-parsed/ I want to use that with but also allow for different series type http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/combo-dual-axes/ I was thinking about adding a checkbox column that would indicate a line series but am unsure how to correctly pass that to this

Pass time values to Highcharts Column chart

寵の児 提交于 2019-12-13 04:24:00
问题 I want a chart, where the Y-axis contains time values like '%H:%M:%S' I have used Highcharts plugin for this X-axis: ["dep1","dep2","dep3"] Y-axis: ["00:15:30","00:55:30","00:45:30"] My code is as follows: $('#durationChart').highcharts({ chart: { type: 'column' }, title: { text: 'Avg. values' }, xAxis: { categories: ["dep1","dep2","dep3"], labels: { rotation: -45, style: { fontSize: '11px', fontFamily: 'tahoma, sans-serif' } } }, yAxis: { type: 'datetime', dateTimeLabelFormats: { second: '%H

Hightcharts - Not showing column datalabels when chart type is column

余生颓废 提交于 2019-12-13 04:23:28
问题 Below is the code fiddle to display highchart. It doesn't show datalabels when chart type is column. when it is 'bar' it shows datalabels. http://jsfiddle.net/LuxRK/embedded/result/ $(function () { $('#container').highcharts({ chart: { type: 'bar' }, title: { text: 'Historic World Population by Region' }, subtitle: { text: 'Source: Wikipedia.org' }, xAxis: { categories: ['Nominated', 'Approved','Rejected', 'Pending'] }, yAxis: { labels: { enabled:false } }, plotOptions: { bar: { dataLabels: {

custom ticks based on selected range from rangeSelector in Highstock

扶醉桌前 提交于 2019-12-13 04:22:54
问题 I am trying to get my Highcharts/Highstock chart to display a custom tick when the rangeSelector is set to All, I have it setup this way, but is throwing me errors when I try to use the interactive portion of the graph Received below answer from Highstock Change tick interval on range selector change componentDidMount() { // Timezone Offset for PST standard is UTC timezone Highcharts.setOptions({ global: { timezoneOffset: 8 * 60 }, lang: { thousandsSep: ',' } }); Highcharts.stockChart('chart'

Highcharts with Rails 6

痞子三分冷 提交于 2019-12-13 04:17:32
问题 I have a scatter chart made with Highcharts. I now need to add an image to the chart. The image should stick to the top right corner. I'm not sure if this is the best way to add an image, but I've managed to get an image on my chart using this code (this is not the acutal image, just a sample): function (chartt) { chartt .renderer .image('https://www.highcharts.com/samples/graphics/sun.png',0,0,50,50) .add(); } However, if I move the image close to the top right corner, when I resize the

Unable to pass Json data into ajax success call in asp.net mvc

≯℡__Kan透↙ 提交于 2019-12-13 04:13:59
问题 i have made an application in mvc dot net using highcharts i have connected them to DB and showed them in view till now every thing is running fine but now i want to do is that if DB is updated the charts will be automatically show the updated data. for now i have to refresh the page to view updated data and it's showing well but all i want is not refresh it. i have searched many articles and found than ajax polling should help me out so in my controller code i have passed all data in

Highstock performance issue

蹲街弑〆低调 提交于 2019-12-13 03:59:33
问题 When use Highstock we meet a performance issue when we use the line with compare. We need to add 15 line series and each series have 800 points. And it will cause the "Stop running this scripts" issue in IE 8 or lower. And this happens not only when we add data to the chart, when we change the size of the chart this also happened. Does anyone have experience on this issue ? In IE 9 or other browser it works well but the performance is a bad. 回答1: Have you tried modify turbothreshold parameter

Display the Plotted value on x axis using highcharts

依然范特西╮ 提交于 2019-12-13 03:58:31
问题 How to display the plotted value correctly to the exact milliseconds on the chart? How place a point or tooltip to exact milliseconds? xAxis: { type: 'datetime', plotLines: [{ color: '#FF0000', width: 2, value: 1366113390066 }] } JSFiddle Link 回答1: Your series is not showing because your data array is not in a usable format. this: data: [{ 'value': 731, 'timestamp': 1366032438641 } should be either this: data: [{ 'x': 1366032438641, 'y': 731 } or, more simply, this: data: [[1366032438641,731]

Adding Dynamic Data Series to High charts

旧巷老猫 提交于 2019-12-13 03:55:01
问题 ×212414 ×123754 I am calling a PageMethod in codebehind.aspx.cs file which returns me a string array[] in the javascript code in the aspx page the problem at hand is that string array returns Time(X axis-Value),Data/Name(Y axis Value),Type(Defines the type of chart (Spline or Column)) from a WEB SERVICE. I am using that data to add series dynamically to the chart. Using the function chart.AddSeries() but I am unable to do so. Can anyone please guide me how to do that and upon doing that I

DotNet.Highcharts , Is there any way to use it in Winform application?

只愿长相守 提交于 2019-12-13 03:51:28
问题 i Recently discovered DotNet.HighCharts project, is there any way how can i use it in winform application and view the chart in webBrowser. I tried this but its not working, DotNet.Highcharts.Highcharts chart = new DotNet.Highcharts.Highcharts("chart") .SetXAxis(new XAxis { Categories = new[] { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" } }) .SetSeries(new Series { Data = new Data(new object[] { 29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216