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
- How to show multiple HighCharts charts in the same page?
- One series name in higcharts not getting populated even though json send the correct information
- Dual y-axis matching on Highcharts
- How to Draw graph in ASP.NET MVC 4 using High-Charts?
- Highlight option in stacked barchart in highcharts
- Feeding the data through an angular factory to a controller
- How to enable dates that match with the data in rangeselector?
- Default highstock zoom without rangeSelector buttons
- Stacked Column two values per column
- How to know the highcharts version used in angular2-highcharts
- Heatmap show previous day in the tooltip
- Getting error when try to use external parameter to generate chart
- Change Highchart Options dynamically in angular
- highchart to views in cakephp 2.4
- Why I can't dowload PDF or PNG file ??, HightChart
- Highcharts column chart extends off container and doesn't properly show X axis
- How automatic xAxis labels rotation in highchart
- Updating data in charts, highcharts with angular, highcharts-ng
- getSelectedPoints array delay problem in HighCharts
- Highcharts smooth transition on data update using Angular and ng-highcharts
- How to remove extra one legend from High Charts- Bar chart (multiple & stacked)
- Highcharts - how to disable color change on mouseover/hover
- Remove spaces between axes and columns in Highcharts with only one category
- Multiple categories for hc_yAxis
- How to add trend line to high charts
- How to create a solid gauge chart with Highcharts in angular 6?
- Using Highmaps for Angular after the component is initialized
- highcharts; add arbitrary data which lasts when rendered
- Custom "compare" and axis range in Highcharts
- TreeMap chart of Highcharts in Angular