Highcharts

How to achieve Drill up (Back To 'Chart 1') using GWT highcharts

南楼画角 提交于 2019-12-24 23:26:54
问题 I am implementing HighCharts Drill Down feature using GWT ('highcharts-1.7.0.jar') ,with the help of the javascript reference http://jsfiddle.net/ffc4jhb7/ and GWT API reference http://www.moxiegroup.com/moxieapps/gwt-highcharts/apidocs/org/moxieapps/gwt/highcharts/client/Drilldown.html#setDrillUpButtonRelativeTo(org.moxieapps.gwt.highcharts.client.MapNavigation.AlignTo) I am able to achieve 'Drill Down' but 'Back To' (Drill Up) option is not working. I am getting 'Back To XXX'Button, but

Highcharts - Column Chart Drilldown, how to change the drilldown bar color based on some value

[亡魂溺海] 提交于 2019-12-24 22:25:00
问题 I'm trying to make drilldown for a column chart in highcharts using below js // Create the chart Highcharts.chart('container', { chart: { type: 'column' }, title: { text: 'Browser market shares. January, 2015 to May, 2015' }, subtitle: { text: 'Click the columns to view versions. Source: <a href="http://netmarketshare.com">netmarketshare.com</a>.' }, xAxis: { type: 'category' }, yAxis: { title: { text: 'Total percent market share' } }, legend: { enabled: false }, plotOptions: { series: {

Using highcharts & highstock together on same page

空扰寡人 提交于 2019-12-24 22:00:14
问题 Hope someone can help.. ? I'm trying to use both highcharts and highstock on a single page, loading from CDN, initially I set up various highcharts - gauge and bar chart with drilldown and using the following all is working fine: <script src="https://code.highcharts.com/highcharts.js"></script> <script src="https://code.highcharts.com/highcharts-more.js"></script> <script src="https://code.highcharts.com/modules/drilldown.js"></script> <script src="https://code.highcharts.com/modules

Run Highcharts on Server side code to add to Word document

走远了吗. 提交于 2019-12-24 21:57:43
问题 I am using Highcharts on an ASP.Net MVC Project. All works great on client side/js however I have a requirement to create a word document via the project that includes one of these charts you can see on screen. I currently use Novacode's docx library to create/modify word files and this works great. I can add images easily and if necessary I can create the basic looking charts with .Nets charting library but I'd prefer to use the Highcharts ones. Does anyone know how via a Controller (i.e.

File loading a Csv file into highcharts

让人想犯罪 __ 提交于 2019-12-24 21:52:06
问题 I'm plotting Csv column data in highcharts. Instead of the: $.get('5.csv', function(data) I want input a local desktop Csv file using: function handleFileSelect(evt) { var files = evt.target.files; // FileList object My current Javascript code is below : var options = { chart: { renderTo: 'container', defaultSeriesType: 'line' }, title: { text: 'Test' }, xAxis: { categories: [] }, yAxis: { title: { text: 'Units', } }, series: [] }; // $.get('5.csv', function(data) { var file = event.target

highcharts start from hinges base

被刻印的时光 ゝ 提交于 2019-12-24 21:33:58
问题 Is it possible to start the line from the hinges base ? I have looked everywhere and couldnt find a solution for it here is my code jQuery('#chart').highcharts({ colors: ['#f5781e', '#7b3186'], navigation: { buttonOptions: { enabled: false } }, credits: { enabled: false }, chart: { type: 'line', marginRight: 0, marginBottom: 35, width: 700, height: 280, }, title: { text: '', x: -20 //center }, subtitle: { text: '', x: -20 }, xAxis: { categories: ['1','2','3','4','5','6','7','8'],

HIghcharts, Selecting a second Point within the Point.select event

烂漫一生 提交于 2019-12-24 21:27:56
问题 $(function () { var chart = { plotOptions: { series: { point: { 'events' : { select: function(){ var pId = this.series.data.indexOf(this); var chart1 = $('#container').highcharts(); var chart2 = $('#container2').highcharts(); //These are the extra selects I want to happen //chart1.series[0].data[5].select(true,true); //chart2.series[0].data[pId].select(); } } } } }, series: [{ data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4] }] }; $('#container')

HighchartsReact does not render properly in custom Tabs

断了今生、忘了曾经 提交于 2019-12-24 21:05:15
问题 I'm using HighchartsReact and I'm struggling to render my charts properly inside a simple tab implementation. Every time I change tabs, the charts get "stuck" on the previous rendering and never refresh. Here is the sample code. Thanks! const chart1 = { "title": { "text": "Chart 1" }, xAxis: { type:'datetime' }, "series": [ { "name": "ONe line", "data": randData1 }, { "name": "Another LIne", "data": randData2 } ], chart: { events: { load: function(){} } } } const chart2 = { "title": { "text":

how to hide series data in combination high charts

北战南征 提交于 2019-12-24 21:03:08
问题 I am using combine high charts . I need to hide a particular pie chart and column chart data while clicking a particular legend. If i use: series[i].data[index].remove() That removes the value but not able to show that value again while clicking the legend. series[i].data[index].hide() Refer to this JSFidddle - Example which I tried but I get an error like This is not function . How do I solve this? 回答1: You can use hide method on point SVG graphic element: events: { legendItemClick: function

renderer.text not working in gevgeny/angular2-highcharts

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 20:47:40
问题 I am using gevgeny/angular2-highcharts to use highchart in angular project. I am trying to use Highcharts.SVGRenderer#text. It work in highstock normally Woking Fiddle If same code I use in angular2-highcharts it is not working Check Plunker Snippet chart:{ events:{ load:function(){ var charts=this; charts.renderer.text('Series 1', 10, 11) .attr({ rotation: -25 }) .css({ color: '#4572A7', fontSize: '16px' }) .add(); } } }, How I can use renderer.text in angular2 highcharts? 回答1: Finally I got