Highcharts

Change Graph Series Fillcolor in highcharts

我与影子孤独终老i 提交于 2019-12-13 06:45:21
问题 AS shown in image, i want to change Fill color by point (referring project state in my case so), visual for my chart code i have used so far to achieve this is below, $(function () { $('#ao-projectssummry-chart').highcharts({ type: "spline", title: null, borderRadius : null, xAxis: { categories: ['May2016', 'June2016', 'July2016', 'August2016', 'september2016', 'November2016'], opposite: true //type: 'datetime', //min: Date.UTC(2011, 4, 31), //max: Date.UTC(2012, 11, 6) }, yAxis: { min: 0,

Highcharts boundingbox issue with env.js

放肆的年华 提交于 2019-12-13 06:42:54
问题 In the new feature article on Highcharts for the serverside using Export Server and PhantomJS, issues related to bounding box in Env.js (used with Rhino) is mentioned. Could you please post an example where the chart is rendered incorrectly due to the bounding box for SVG issue? Is there any specific pattern in which it could happen? 回答1: Highcharts calculates the bounding boxes of for example labeltext. This is to prevent collision/overlapping of labeltext. You can test the breakdown of this

Highchart timedate format

一笑奈何 提交于 2019-12-13 06:31:32
问题 I'm almost done with my highchart, but I can't manage to get the datetime/timestamp look correct. im not sure if its the format for the xAxis, or if its the format for the serie. My data: [{"x":"2016-04-08 12:11:02","y":32},{"x":"2016-04-08 14:22:07","y":2},{"x":"2016-04-11 10:10:06","y":4},{"x":"2016-04-11 11:56:35","y":2},{"x":"2016-04-11 12:16:20","y":2},{"x":"2016-04-11 14:09:27","y":2},{"x":"2016-04-11 15:03:31","y":1},{"x":"2016-04-11 20:18:41","y":1172},{"x":"2016-04-11 21:00:06","y"

Highchart is not updating after setState (bubble motion)

南楼画角 提交于 2019-12-13 06:30:51
问题 I have a service call on componentDidMount. Up on getting the data, I am trying to set my state which holds highchart information. Code is below. import React, { Component } from "react"; // Import Highcharts import Highcharts from "highcharts/highstock"; import HighchartsReact from "highcharts-react-official"; import plugin from "../../../../resources/js/motion"; import * as Services from '../../services/dashboardservices'; import ProcessData from './bubbleChartMethods'; require("highcharts

highcharts, json data: line and column

百般思念 提交于 2019-12-13 06:28:13
问题 May be really basic question: I'm playing with highcharts with two series, one represented with line and other with column, data is loaded using json, the problem is in how to tell highcharts one serie should be represented with line and the other with column type, like this The problem (for me) comes when Series options in json mode of highcharts are only like this: }, series: json }); whilst in "normal mode" you can set for example: series: [{ **type: 'column',** name: 'Name', data: [], },{

Passing series data from Java to Multi Y axis Highcharts

眉间皱痕 提交于 2019-12-13 06:26:34
问题 I have just started learning JQuery and Highcharts. I created a multi Y-axis highchart with static data. I wanna be able to pass data from java to the series data. How do i do it? How do i make the JQuery code to fetch data from my java class and load it into the highcharts. The following is my code: // MultiY.js $(document).ready(function() { chart1 = new Highcharts.Chart({ chart: { renderTo: 'chart_1', height: 350, }, title: { text: 'Sample Highcharts' }, xAxis: { categories: ['4/28/2013',

Display vertical line on intersection point

本秂侑毒 提交于 2019-12-13 06:24:48
问题 I'm trying to represent a Pareto chart with Highcharts, as you can see here. The horizontal line shows the 80% value , but now I wanted to display a vertical line where that horizontal 80% line intersects with the "Acumulated" chart series. This is an example of what I'm trying to achieve: Is there a way to do it? Another option would be to get the "x" value of the "Acumulated" spline where it's "y" value is "80", that way I could then draw the line manually. Is this even possible with the

If a point is clicked then add a marker in highcharts

ぐ巨炮叔叔 提交于 2019-12-13 06:24:30
问题 I want to add a maker when a point is clicked same like alerting a selected point...the code for selecting a point : cursor: 'pointer', events: { click: function(event) { alert('x: ' + event.xAxis[0].value+' y: '+event.yAxis[0].value); } }}, Now what should I write in place of alert to mark the point when it is clicked? 回答1: instead of click event for this you can use marker states plotOptions > series > marker > states > select > radius: 10 plotOptions: { series: { allowPointSelect: true,

How to prevent Highstock from hiding data rows

旧时模样 提交于 2019-12-13 06:24:07
问题 I have a Highstock chart with type scatter . When I use the range selector some of the series disappear cause the have no data in the current range. How can I prevent the chart from scaling to only the existing data an keep the yaxis in the initial state? 回答1: I can see only two options: set fixed min and max for yAxis in afterSetExtremes call yAxis[0].setExtremes(min, max) in setTimeout function, but you need to calculate min and max on your own. 来源: https://stackoverflow.com/questions

How do I adjust the initial range in hc_navigator

故事扮演 提交于 2019-12-13 06:16:36
问题 I am using the highcharter package (which is great) to plot time series data in R and have added a navigation to my chart using the following function: hc_navigator() I want to pass in an argument that specifies the initial focus of the range of the navigator. This is an example of what I am trying to accomplish: http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/stock/navigator/series-data/ Notice that navigator range defaults to 3 months, rather