Highcharts

Highcharts: Updating a Pie Chart with setData()

我与影子孤独终老i 提交于 2019-12-19 19:51:38
问题 I am trying to work out how to update a Highcharts pie chart but for the life of me cannot seem to get it working right. I have looked over the documentation and have been able to get a bar and line and spline graph to update fine but when using this function for pie charts it just does not work. I am currently feeding in: item.setData([["none", 100]], true); Where item equals the series like so: $.each(browser_chart.series, function(i, item){ if(item.name == 'Browser share'){ console.log

Highcarts custom legend

爱⌒轻易说出口 提交于 2019-12-19 19:44:59
问题 How can I customize the legends From To this 回答1: check highcharts legend api options.You can further customize with desired css. use proper svg image (background color is taken from chart itself) legend: { align: 'right', verticalAlign: 'top', layout: 'vertical', x: -50, y: 120, symbolPadding: 0, symbolWidth: 0.1, symbolHeight: 0.1, symbolRadius: 0, useHTML: true, symbolWidth: 0, labelFormatter: function() { if(this.name=="Microsoft Internet Explorer"){ return '<div style="width:200px;">

highslide and highchart

 ̄綄美尐妖づ 提交于 2019-12-19 11:52:33
问题 am building highcharts and highstock and i will put them in to a page as small charts then to click on it so it will expand (highslide) but the code is not working this is one of the charts http://www.nourhammoury.com/silvercot.php am adding the code like in this example here http://www.highcharts.com/studies/with-highslide.htm but its not working at all can anyone help thanks 回答1: Its not possible to show complete slide show in high slide ... But its can possible I achieved solution that is

How to create a single series bar graph with Highcharts

为君一笑 提交于 2019-12-19 10:58:52
问题 I'm trying to create a simple Highcharts bar graph with a single series and multiple labels in the legend. How is this done? Here is an example: $('#container').highcharts({ chart: { type: 'bar', }, legend: { enabled: true, layout: 'vertical', align: 'right', verticalAlign: 'middle', labelFormatter: function() { return this.name + " - <span class='total'>"+this.y+"</span>" } }, title: { text: 'Simple Bar Graph' }, xAxis: { categories: ['First', 'Second', 'Third', 'Fourth', , 'Fifth'],

load data in highcharts from 2 different csv files

烂漫一生 提交于 2019-12-19 10:27:13
问题 I am trying to find out if I can get a graph using 2 sources (one for the categories, another for the actual data plotted. I find myself often in need to use the same category for different series; but I can't code in the chart itself, since they are not global. As example picture a temperature sensor data: it uses Celsius and my category fits in a specific user case; which apply to all my temperature sensors but if I need to use data coming from a pressure sensor, then I need to change unit

Fixed x-axis in Highcharts Stock (stop auto-scaling)

旧巷老猫 提交于 2019-12-19 10:13:04
问题 In the chart when it start drawing main series (LTP), It draws on whole width. Is there a way to draw it just like the selector chart at bottom? EDIT : I want entire xAxis viewable and then add the points without auto-scaling the xAxis. Have a look at my code http://jsfiddle.net/S9SwB/9/ 回答1: Build up on @wergeld's solution here, as you see in his solution, the end of x-axis was position correctly at 5:30 but there was a suddent leap in time, this is because the ordinal property of the axis

jQuery datepicker with Highstocks / Highcharts

人盡茶涼 提交于 2019-12-19 08:16:08
问题 How can I get a working jQuery datepicker with highcharts rangeselector? This fiddle is an old example (from a highcharts author) which has the problem. http://jsfiddle.net/BWEm5/ Changing the end date will reset the start date to the beginning of the data. $(function() { $.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename=aapl-c.json&callback=?', function(data) { // Create the chart window.chart = new Highcharts.StockChart({ chart: { renderTo: 'container' }, rangeSelector: {

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