score:1
Accepted answer
Try like this.. make the highchart method to draw chat and call the method with new data as many number of time you need to redraw the chart as the rendering of chart in high chart is fast.
function lineChart(div,Chartdata){
$('#'+div).highcharts({
title: {
text: 'Calibration',
x: -20 //center
},
xAxis: {....
series: [{
name: 'Curve',
data: Chartdata
}]
}
and call like
lineChart('container',[10,100,20]);
where ever you want...
like wise add the category too... and make your own customized methods
hope it helps
score:1
See the official Demo in this Fiddle.
You should add .highcharts()
after $('#container')
.
That is $('#container').highcharts().series[0].setData([100,200],true);
Fixed demo Fiddle.
The official document.
Source: stackoverflow.com
Related Query
- How can I update the data in highcharts for both x axis & y axis?
- How to plot the X axis data point for uneven tick interval at in Highcharts
- How replicate the value of Y Axis on both sides of the axis in Highcharts
- How can I force ticks/grid lines on a Highcharts datetime X axis to arbitrarily line up with data points?
- How do I put Icons in the y Axis for a Dynamic Highcharts chart?
- How To Show All Data Labels For Datetime Axis In Highcharts
- Highcharts - how to create multiple y axis and group the data series
- How can I set the alignment for individual axis labels in highcharts?
- how can i add in highcharts a different dashStyle just for a part of the graph
- How can I display the outcome of the for loop in highcharts
- How can I limit the length of a HighCharts PlotLine on the Y-Axis for a BoxPlot?
- How to make the Y Axis values not start from 0 in highcharts? How to display forcefully display the last category data on X axis in HighCharts ?
- How do I calculate the total Data values for both and display in Legend
- In highcharts how can I provide data with values x, y, title so that I can put the title in the tooltip?
- How can i load external json data in highcharts to show the bar chart
- How I can change the axis both side in y axis?
- How can I set the units on multiple axis on Highcharts
- Highcharts - How would I use HTML input boxes to input the data for a Pie Chart?
- Highcharts : How do i align data labels above the axis in column chart?
- How can I align the scale on my HighCharts graph with the axis rather than the margins?
- Highcharts: when having multiple columns for the same X axis value, how can I get 1 tooltip per column?
- how can I use rangeselector and navigation in highcharts in the given code
- How to show equally spaced axis for datetime for billing cycle related data on highcharts
- How do I hide the code for the chart data in highcharts?
- HighCharts - How can I turn off the points?
- How can I change the colors of my highcharts piechart?
- How to make highcharts default to 0 for missing data
- how to set the interval of points on Y - Axis highcharts
- How can I get the max value of a y axis at highcharts?
- How can i hide all the Series in highcharts at a time
More Query from same tag
- Possibilities/advise for creating a grid-like Dashboard with graphs (highcharts)?
- Setting highcharts datalabels backgroundColor with the same color of its piechart series
- Can we add fixed buttons on top of bars in highcharts bar chart
- Custom Label Show Percentage on Highcharts
- Highcharts - Pie slices show up invisible until interaction
- How to enable the vertical scrollbar in Highcharts?
- React prop gets overwritten when using highcharts?
- Click events on highcharts with multiple series
- Highcharts y axis and x axis display
- HighCharts Multiple Y-Axes
- CSS Style not getting applied to a series in Highchart
- Highchart Export chart not returning image in IE8 or IE9
- HighStocks - Adding 2 charts on same page
- Is it possible to completely hide a tooltip using pointFormatter?
- Background image isn't appearing in Highcharts
- Highcharts with data populated by php generated html table - only one will load
- Highchart data series filled with different colors
- I don't want circles in my line Highchart
- DataLabels in R highcharter cannot be seen after print as png or jpg
- Highchart for temperature and humidity does not share tooltip
- Override table cell background color in highcharts-tooltip
- special characters in title of charts of Charts Js
- Highcharts single horizontal stacked bar chart with data names (labels) and %-ages always shown and data numbers and series name shown on mousehover
- Highchart drilldown to simultaneous multiple series and y-axis
- Highchart IRREGULAR Spline with drilldown - cannot get drilldown functional
- Highcharts inverted line where dates go upwards, not downwards (reversed series)?
- Highmaps hover effect/mouseout color change
- How to change code in "Pie Chart" in HighCharts
- Highcharts: How to link legend to categories rather than to bar series?
- Node.js, express, jade, highcharts and 2D array