Highcharts

How to tell Highcharts to set date on the x axis, and use a range of time (like 1 day)

淺唱寂寞╮ 提交于 2020-01-05 12:26:21
问题 I am trying to understand the issue here; I have a data file that contains dates for each of my value. When I use it on the x axis; the result is that I will have the x axis split the values evenly, so if a point is at 2:30 2:31 and another at 2:32, the values will be side by side, evenly spaced; while I would expect that the x axis would be split based on the first and last date (like in 2 if there are 2 days, in 3 if there are 3 days and so on) Instead I would like to have a range based on

How to make highcharts boxplot with drilldown?

[亡魂溺海] 提交于 2020-01-05 08:32:11
问题 I am new with highcharts and javascript. I am trying to make a boxplot with drilldown. Chart type 'boxplot' requires data to be a array of 5 element(min 1st-quatile median 3st-quatile max), as follows: data: [ [760, 801, 848, 895, 965], [733, 853, 939, 980, 1080], [834, 836, 864, 882, 910] ] While drilldown requires that data should have many members, including "drilldown" member, as follow: data: [{ name: 'namey', y: 49.9, drilldown: 'tokyo 1' }, { y: 71.5, name: 'namex', drilldown: 'tokyo 2

How to make highcharts boxplot with drilldown?

点点圈 提交于 2020-01-05 08:31:36
问题 I am new with highcharts and javascript. I am trying to make a boxplot with drilldown. Chart type 'boxplot' requires data to be a array of 5 element(min 1st-quatile median 3st-quatile max), as follows: data: [ [760, 801, 848, 895, 965], [733, 853, 939, 980, 1080], [834, 836, 864, 882, 910] ] While drilldown requires that data should have many members, including "drilldown" member, as follow: data: [{ name: 'namey', y: 49.9, drilldown: 'tokyo 1' }, { y: 71.5, name: 'namex', drilldown: 'tokyo 2

Highcharts - Dynamically change chart type with on radio buttons click

北城余情 提交于 2020-01-05 08:27:30
问题 I am trying to change my working highcharts into different type of chart using 4 radio buttons : column , bar , pie , line . Here is my working chart: $(function () { // Create the chart var options = { chart: { events: { drilldown: function (e) { if (!e.seriesOptions) { var chart = this, drilldowns = <?php echo json_encode($array) ?>, series = drilldowns[e.point.name]; // Show the loading label chart.showLoading('Loading ...'); setTimeout(function () { chart.hideLoading(); chart

Retrieving JSON data in highcharts

拈花ヽ惹草 提交于 2020-01-05 08:04:19
问题 I have been trying to customize an excellent jsfiddle that I was fortunate enough to be directed to in an earlier question here: Switching between many Highcharts using buttons or link text I am very new to javascript programming (and highcharts also) and I am having some difficulties in retrieving my own data from a database. Currently I have set up my charts like the following: $('chart1').ready(function() { var options = { chart: { renderTo: 'chart1', type: 'column', marginTop: 40,

Does highcharts (or vaadin) have built-in abilities to use an algorithm like Ramer–Douglas–Peucker?

早过忘川 提交于 2020-01-05 06:56:20
问题 Using Vaadin's charts (which ultimately uses HighCharts), I'm trying to plot a line graph with over 10,000 points. It actually works reasonably quickly (a couple seconds to plot). However, I wonder if it can be much faster, as I came accross a similar problem when using JavaFx charts and discovered that people have implemented a solution using the "Ramer–Douglas–Peucker algorithm" to reduce the number of datapoints in such a manner that it's basically noticeable to the human eye when its

Change zIndex in HighChart

ε祈祈猫儿з 提交于 2020-01-05 02:56:48
问题 using Highchart, how can we change the zIndex for a line according to its state, or dynamically from a click event ? I tried : plotOptions: { series: { states: { select: { lineWidth: 2, zIndex:10 } }, with : this.setState(this.state === 'select' ? '' : 'select'); in the Click event but it doesn't work. 回答1: Alright, it's definitely not pretty, but I couldn't find a way to actually set the zIndex, so I had to do some maneuvering to fake it and bring each series to the front in a certain order.

How to use html5 jasper report from java layer without publishing report to jasper server

寵の児 提交于 2020-01-04 21:14:43
问题 I am new to jasper and highcharts. I have designed my html5 report using jaspersoft license version. I want to use that html5 jasper report from my java application without publishing it to jasper server. Which jars I need to include to fill that html5 jasper report from java. so that I will generate html markup of report. I have tried these jars jasperreports-5.0.0.jar jasperreports-chart-themes-5.0.0.jar jasperreports-fonts-5.0.0.jar jasperreports-fusion-5.0.0.jar jasperreports-highcharts-5

How to use html5 jasper report from java layer without publishing report to jasper server

戏子无情 提交于 2020-01-04 21:14:32
问题 I am new to jasper and highcharts. I have designed my html5 report using jaspersoft license version. I want to use that html5 jasper report from my java application without publishing it to jasper server. Which jars I need to include to fill that html5 jasper report from java. so that I will generate html markup of report. I have tried these jars jasperreports-5.0.0.jar jasperreports-chart-themes-5.0.0.jar jasperreports-fonts-5.0.0.jar jasperreports-fusion-5.0.0.jar jasperreports-highcharts-5

Highcharts Triple Drilldown Round Corners Plugin Bug

孤者浪人 提交于 2020-01-04 16:51:47
问题 I am using a modified version of the Highcharts Round Corners Plugin thanks to @davcs86. And on the third level of a drilldown there is a bug. I was hoping someone could assist. Issue: the third level in drill down errors out. Goal: Make it work. Bug Demo: http://jsfiddle.net/32a7L41b/ Click on Alaska and then Wave 1 and you will see the bug. Obviously the data is not real. //Modified Highcharts Round Corners plugin (function (H) { var curPercentage = []; H.wrap(H.seriesTypes.column.prototype