Highcharts

Sorting Scatter Highstock Chart with Multiple Series

℡╲_俬逩灬. 提交于 2019-12-11 15:36:56
问题 I running into issues when attempting to sort a highstocks chart series. I continue to get a Highcharts Error #15. I understand why I'm getting this error but I'm looking for a way to get around it. I have a 3 element array as the following [[x],[y],[time]] Im attempting use a stock chart to allow me to slide through time while updating x and y scatter plot. To fully understand what I'm plotting some reasoning for this plot type may be helpful. x in this case is engine load percent while y is

Highchart line chart Tooltip showing index value instead of X-axis formatted label name

核能气质少年 提交于 2019-12-11 15:35:51
问题 My Problem of alignment is resolved with Highcharts graph should start entirely to the left and end entirely to the right But the tooltip information shown with index instead of x-axis label. Without calling Highcharts.Axis.prototype.init below is the output? http://jsfiddle.net/mkpasala/3s0prgau/ When I called the Highcharts.Axis.prototype.init method like below, instead of xAxis label its showing index. http://jsfiddle.net/mkpasala/k94cfn8t/ Please help me to fix this inside Highcharts.Axis

How to use chart.setSize in highchart on div resize?

陌路散爱 提交于 2019-12-11 15:19:57
问题 I am having paper component on drag of paper the chart in the paper is not getting resize on div. On window resize its working fine. I want with div resize chart should resize I am using reactgridlayout for highcharts to be rendered along with drag and drop. when the container is dragged the chart in the container is not getting resized.Only on window resize it is working. I need on div resize. I used chart.setSize(null,null); _loadSavedChart(){ return ( <ResponsiveReactGridLayout layouts=

Is it possible to create a Word Cloud with highcharter?

让人想犯罪 __ 提交于 2019-12-11 15:19:56
问题 I tried it with the following code, but somehow it didn't work for me: x4 is a dataframe, n1 a character string, and n2 the number of counts per word. hchart(x4 ,"wordcloud", hcaes(name = "n1", weight = "n2")) 回答1: There is a function for word cloud in highcharter, follow this code data(reuters, package = "kernlab") text = paste( reuters[[1]]) textcld <- text %>% map(str_to_lower) %>% reduce(str_c) %>% str_split("\\s+") %>% unlist() %>% data_frame(word = .) %>% count(word, sort = TRUE) %>%

Highcharts / Highmaps with Angular - Cannot run demo

旧时模样 提交于 2019-12-11 15:18:20
问题 I'm discovering Highcharts / Highmaps and for now, I would like to reproduce some demo examples on my machine using Angular 6 , but I can't make it work. The official JS example is here : https://www.highcharts.com/maps/demo/map-drilldown (you can see the code by clicking "Edit in CodePen") I've tried to adapt the example like this : import { Component, OnInit } from '@angular/core'; import { Highcharts, MapChart } from 'angular-highcharts'; require('highcharts/modules/map')(Highcharts);

Highcharts column chart rendering transparent columns in IE8

非 Y 不嫁゛ 提交于 2019-12-11 14:52:31
问题 The column chart renders fine on all browsers except IE8. This is such a strange error. I can't replicate it in jsfiddle (yes I tried with the Jquery version I am using-1.9.1 as well)but I put the code on it in hopes someone has faced the same problem before. http://jsfiddle.net/danushkab/kp5es/6/ $('#monthlychart').highcharts({ chart: { type: 'column', events: { click: function(event) { location = '/GVEMS_2.0/cvh/monthConsumption?date=08/2013&building=cvhcampus'; } } }, title: { text:

How to input null into highcharts and then ignore it in line graph?

你说的曾经没有我的故事 提交于 2019-12-11 14:47:52
问题 I'm making a line graph using highcharts and whenever the input is null the line graph breaks into scatterplot. I would like it to just ignore that value and connect to the next point in the graph instead. I think I used the correct code, but the graph still won't budge. When I mouseover the value the tooltip even says null (whether I write null with a word in CSV or just leave ;;)... $("select").change(function() { $("select option:selected").each(function() { var variable = $(this).val();

how do i achieve timezone independence in highcharts export server?

随声附和 提交于 2019-12-11 14:45:53
问题 I have highcharts export server(2.0.14) configured in Europe timezone and i have my system in indian time zone. i am using java to create a json and sent it to the highcharts export server to get an png image of the graph. But the export server is generating an x-axis(datetime) which is timezone dependent. how do i achieve timezone independence for x-axis i have tried using time:{ useUTC: false } following is the fiddle link. https://jsfiddle.net/btcLqhs0/ if you sent the same json in the

Highcharts - Same type of bar report more than one in same page only last report y-axis label formatter function is calling

帅比萌擦擦* 提交于 2019-12-11 14:21:13
问题 We have two bar reports on the same page. We are generating Y-axis label formatters dynamically, but whatever format of the second chart which is overriding the first chart. I have noticed for both the charts it is calling formatter function only once. yAxis: [{ min: minVal, max: maxVal, labels: { formatter: function() { return getPatternDetailsLeftAxis(this.value, scope.StackBarPrefix, scope.StackBarSufix) } }] Can anyone help me on this issue? Thanks in advance. 来源: https://stackoverflow

Using htmltocanvas for my webpage but highcharts are coming partial

我是研究僧i 提交于 2019-12-11 14:19:12
问题 I am trying to take an image of a part of my webpage, which occasionally would include highcharts. It works well except for some highcharts type. As an example, this is my #PrintPanelScreen on webpage. So partial charts are displaying, check the two links below, first image shows how it looks on webpage and second image shows how it looks when rendered. Notice colors are missing on the chart. this.PrintPanel = function () { html2canvas(document.querySelector("#PrintPanelScreen")).then(canvas