Highcharts

Highcharts: how to draw line segments with click-and-drag and without chart to scroll?

这一生的挚爱 提交于 2021-01-29 10:15:06
问题 I am having my code inside of this JSFiddle and as a reference I am considering this JSFiddle. When I am trying to draw a segment annotation or an arrow-segment annotation, the whole chart is scrolling. Additionally, drawing can not be performed in a single mouse click and dragging to draw. Here is an example video of how I want my chart to works v.s. how it actually works. The implementation for this behavior was initiated in the method customInitEvents , but I am not sure how to proceed

chartOptions.redraw is not a function in highcharts using angular

偶尔善良 提交于 2021-01-29 09:17:21
问题 This is the html code <highcharts-chart *ngIf="!isLoading" [Highcharts]="Highcharts" [options]="chartOptions" [(update)]="updateChart" style="width: 100%; height: 100%; display: block;" ></highcharts-chart> enter code here This is the typescriptcode onTogglevolume() { this.chartOptions.series[2].visible = !this.chartOptions.series[2].visible; this.chartOptions = { ...this.chartOptions }; this.chartOptions.redraw(); } These are import statements import * as Highcharts from 'highcharts'; import

Remove DateTime from Highchart's x-axis

给你一囗甜甜゛ 提交于 2021-01-29 09:12:00
问题 What I have is a Highchart plotting data points every second. 1 data point per second. Now, On the X-axis what I have is the Timedata. What I want is that to remove the time data from the x-axis and instead of that I just want to show the no. of points count. that is being plotted. Here is the Demo code of the data plots how it looks. numArray = [1,5,3,5,6,3,3,7,4,6,7,3,5,3,6,7,5,2,5,7,4,6,4,5,3,6,7,8,5,4,3,6,7,8,5,7,8,8,5,3,2,4,6,7,4,6,7] ; var json_array =numArray ; var i = 0; function next

Highcharter package not found - highchart function not available

流过昼夜 提交于 2021-01-29 05:30:27
问题 I want to use the highcharter package to chart some stocks. However, I receive some error messages, when I use install.packages and library. When I then try to use the highchart function, I get the following error message: Error in highchart(type = "stock") : could not find function "highchart". These are the errors while loading the package: install.packages("highcharter") trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/highcharter_0.7.0.tgz' Content type 'application

Difference between “highcharts-angular” and “angular-highcharts” node modules (for Angular v7)

时光怂恿深爱的人放手 提交于 2021-01-29 05:29:29
问题 My application will be Angular v7 and Highcharts (latest version) I'm wondering what's the difference between the below 2 node modules, each is listed on the HighCharts tutorial page, and they look the same: Node module: highcharts-angular Node module: angular7-highcharts I've a simple example working with "highcharts-angular" but unsure which I should be using. Any thoughts/guidance would be great. Thanks Ro 回答1: As you can read in the posted articles highcharts-angular is Highcharts Angular

HighCharts Multiple Point selection - access/update getSelectedPoints array immediately after point select

有些话、适合烂在心里 提交于 2021-01-29 04:55:30
问题 I have a HighCharts linegraph where I am allowing multiple point selections. After each selection/de-selection is made, I want to perform an action based on all currently selected points. I'm triggering off of the plotoptions.line.point.events.select (or .click) events, which returns the latest point selected. However, the array returned by chart.getSelectedPoints() apparently doesn't get updated until after the .select or .click event completes. So I cannot use chart.getSelectedPoints()

HighCharts Multiple Point selection - access/update getSelectedPoints array immediately after point select

孤人 提交于 2021-01-29 04:52:06
问题 I have a HighCharts linegraph where I am allowing multiple point selections. After each selection/de-selection is made, I want to perform an action based on all currently selected points. I'm triggering off of the plotoptions.line.point.events.select (or .click) events, which returns the latest point selected. However, the array returned by chart.getSelectedPoints() apparently doesn't get updated until after the .select or .click event completes. So I cannot use chart.getSelectedPoints()

Per-cell border colors in a highcharts heat map

ぐ巨炮叔叔 提交于 2021-01-29 04:11:10
问题 I'm using highcharts to create a simple heatmap, but now I want to use custom border colors on the cells to represent another dimension in my data set. I am able to accomplish this with the borderColor config option on the data points, but the border of each cell gets drawn partly on top of the border of the preceding cells, so it looks sort of goofy. Is there a way to specify a margin for the border so that my border gets drawn completely inside the boundary of the cell, so that there is no

Per-cell border colors in a highcharts heat map

╄→гoц情女王★ 提交于 2021-01-29 04:05:26
问题 I'm using highcharts to create a simple heatmap, but now I want to use custom border colors on the cells to represent another dimension in my data set. I am able to accomplish this with the borderColor config option on the data points, but the border of each cell gets drawn partly on top of the border of the preceding cells, so it looks sort of goofy. Is there a way to specify a margin for the border so that my border gets drawn completely inside the boundary of the cell, so that there is no

Overriding log scale with highcharts export server

不羁岁月 提交于 2021-01-29 02:33:18
问题 I am trying to get a chart with a negative log scale working in the node highcharts export server. The example from here https://www.highcharts.com/blog/snippets/alternative-maths-plotting-negative-values-logarithmic-axis/ works fine in the browser but I can't find a way of overriding the log scale in npm. e.g. this part (function (H) { // Pass error messages H.Axis.prototype.allowNegativeLog = true; // Override conversions H.Axis.prototype.log2lin = function (num) { var isNegative = num < 0,