Highcharts

highchart stacked column total data per categories

淺唱寂寞╮ 提交于 2019-12-11 08:45:16
问题 I want to get the total data per categories. The point.stackTotal only gives the total of the active data. From the code example I pasted, I would like to know the total consumption per fruit. So even if I clicked Joe's name on the legend on upper right part (that makes all Joe's information on stacked chart inactive), I'd still know the total consumption of Apple (and any other fruits) of John, Jane, and Joe on mouseover each bar categories so apparently, what I am looking for is not the

Timeline / Schedule in highcharts

£可爱£侵袭症+ 提交于 2019-12-11 08:39:16
问题 Is there a way to do a timeline / schedule in HighCharts that looks similar to this? https://developers.google.com/chart/interactive/docs/gallery/timeline#an-advanced-example. I found http://jsfiddle.net/VenomXLR/u3eWz/ which is close enough, but cannot see how to put labels in the body of the bar... eg data: [{ label:'foo bar', x: 0, low: Date.UTC(2013, 07, 03, 0, 0, 0), high: Date.UTC(2013, 07, 03, 4, 0, 0) } This http://jsfiddle.net/gh/get/jquery/3.1.1/highslide-software/highcharts.com

Possible to use Highcharts Scatter Plot with categories?

回眸只為那壹抹淺笑 提交于 2019-12-11 08:31:49
问题 Highcharts v3.01 I'm trying to use a scatter plot to draw points within named categories (these are actually numeric, but out of series and I don't want gaps). Using line graph types would work, but I'd rather not as I have potentially hundreds of series and scatter points are clearer. The closest I have come is this: EDIT - I would post a descriptive image, but apparently I need reputation points. Sigh. Please see here: http://i117.photobucket.com/albums/o63/Harry_Flashman/close_zpsfe6d3ea2

making series in Highcharts clickable

怎甘沉沦 提交于 2019-12-11 08:20:05
问题 Does anyone know how to make the series in the highcharts clickable? as in if you click one of the items it will take you to an external link? I looked through the documentation and could not find an option in the highcharts. http://www.highcharts.com/docs/chart-concepts/series Here is the fiddle provided in the doc. if anyone could make the series clickable that would be awesome!! http://jsfiddle.net/gh/get/jquery/1.7.1/highslide-software/highcharts.com/tree/master/samples/highcharts/series

Change size of legend symbol

北战南征 提交于 2019-12-11 08:06:37
问题 How do I change the size of the symbols in the legend? Right now they look like this: I would like them to be squares approximately the same size as the titles. After looking at the docs, I thought changing symbolHeight, symbolRadius and symbolWidth would do the trick, but it doesn't. In fact these parameters don't change anything at all, as far as I can see. 回答1: If you are using line series, you need change its legend symbol to column series legend symbol. Then you can use symbolHeight ,

Formatting Tooltip of Values >1000

∥☆過路亽.° 提交于 2019-12-11 08:03:20
问题 I am using an ohlc highstock chart in my project. I have values in 4-5 digits. For example Open : 2717.35 High : 2719.5 Low : 2709.18 Close : 2712.97 SMA(50) : 2677.4904 SMA(200) : 2627.7230 Volume : 3368690000 In the tooltip of the chart, I want these values like this (added comma) Open : 2,717.35 High : 2,719.5 Low : 2,709.18 Close : 2,712.97 SMA(50) : 2,677.4904 SMA(200) : 2,627.7230 Volume : 3,368,690,000 But in the case of 4 digit values, tooltip looks like this There's a space in the 4

Convert Base64 to normal PNG for copy/pasting

泪湿孤枕 提交于 2019-12-11 07:52:45
问题 I've got an HTML email template that's using a kludgy process as follows: Pull data from MySQL and put it into a HighCharts chart Convert the HighCharts SVG to canvas using canvg Render the canvas as a Base64 PNG using canvas.toDataURL All's well and good, the image shows up fine (except for some quirkiness in Internet Explorer), but here's the rub: I'd like users to be able to copy and paste the entire web page into Outlook and send it out as an email. However, Outlook (and a few other

Highcharts - time off by 1 hour

谁说胖子不能爱 提交于 2019-12-11 07:42:46
问题 I cant seem to work out why the time on the x axis is always an hour behind. I know its got something to do with this line but I cant work out what to change it to. date = Date.parse(line[0] + ' UTC'); My current timezone is London. I've got this file: index.php <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Using Highcharts with PHP and MySQL</title> <script type="text/javascript" src="js/jquery-1.7.1.min.js" ><

Highcharts - bar chart columns too thin with too many series

Deadly 提交于 2019-12-11 07:39:04
问题 I am developing a angular2 application using highcharts, but i have a problem about showing a bar chart. I have applied their sample code of highcharts to my application. It works. But when i added extra series to the chart, the columns becomes unreasonably too thin. my result I separately tried the sample code on JSfiddle with adding extra series to the code. It works however. ... workable example 回答1: I've recently faced a very similar issue and even posted a question about it. The solution

Highcharts Chart inside of a Highslide popout

余生长醉 提交于 2019-12-11 07:36:15
问题 I am currently trying to put a Highcharts chart inside of a Highslide pop-out (the Highslide pop-out itself comes out of an existing Highcharts line graph). Basically, I want someone to be able to click on a point in the line graph and have a Highslides popout that contains additional charts with further information on that data point. The code below works - once. After the user clicks on a point and then closes the Highslide popout, the Highcharts graphs no longer show up in the Highslide