score:1
Accepted answer
it looks like it is the issue with incorrect use of a callback and a for loop. each formatter callback creates a closure which has access to the same variable i - which, when the loop ends, is equaled to json.data.length.
use a foreach kind of loop which will create a seperate i variable for each chart.
compare foreach
http://jsfiddle.net/9eezsx7v/ with for loop
http://jsfiddle.net/9eezsx7v/1/
Source: stackoverflow.com
Related Query
- Highcharts - issue with tooltip formatting in synchronized charts
- Highcharts complex tooltip formatting issue with embedded html link
- Highcharts Synchronized charts display tooltip
- Highcharts shared tooltip between charts with multiple series and shared tooltip
- Highcharts synchronized charts combining with other charts
- Highcharts synchronized charts with multiple axes datasets
- Highcharts synchronize tooltip on multiple charts with multiple series
- passing formatting JavaScript code to HighCharts with JSON
- Wrong date in tooltip in charts with daylight savings time in highcharts
- Highcharts Synchronized charts with missing data points
- Why code of Horizonal line(y-axis) on a single in Highcharts get applied to all other charts integrated with Webdatarocks
- Populating Highcharts tooltip with data from other charts
- Highcharts cloud issue with data source when duplicating chart
- Highcharts DateTime xAxis and tooltip formatting issue
- Issue with tooltip on Highcharts with multiple series added dynamically
- Styling bar colors in Highcharts with a gradient issue
- Highcharts data series issue with ajax/json and PHP
- Highcharts Pie Chart ignores percentageDecimals tooltip setting and has floating point inaccuracy issue
- Highcharts - HTML tooltip & datalabels render issue
- Highcharts Column chart with drilldown, remove hyperlink like formatting from x-axis labels
- Adding a series dynamically with HighCharts Stock Charts
- Highcharts - Issue with negative values when displaying multiple axes
- Highcharts - Global configuration with common code and unique data & Headings
- Highcharts load data with ajax to populate the tooltip
- Highcharts export charts as image on serverside with php
- Formatting JSON Data with ColdFusion for HighCharts
- Highcharts - multiple yAxis each with its own tooltip
- Highcharts tooltip using HTML allows advanced formatting like images
- HighCharts query parameters issue with Flask webservice
- Highcharts column + line combination chart with multiple series. Issue aligning line over the column
More Query from same tag
- Set datetime measure unit in Highcharts
- display different series data in single line of Stacked Bar using highcharts
- Is there a way to update a point with Highcharts Boost?
- Highcharts MTD (Month to Date) and QTD (Quater to Date) implementation
- Display start and end date range in timeseries LineChart using HighCharts
- HighCharts Hours/Minutes
- Highchart range selector right align
- HighCharts : xAxis Categories Date format not working
- wicked_pdf gem + Highcharts
- Hichcharts- hidden series does not show again after updating plots twice
- Is there a way to save highcharts output as png instead of html
- Is it possible to have two Y Axis in a highstock chart from highcharts one on the left and another on the right?
- how to manipulate hightcharts data in jquery?
- Highstock mysql json multiple data
- How to create constant space between bars/columns in Highcharts?
- Move dial numbers on gauge highchart?
- Basic jquery fiddle to Angular Directive
- Setting Highcharts piechart chartDefaults from calling jsx file in React
- Highcharts: xAxis label above bar in horizontal bar charts
- how to Trim xAxis scale in highstock?
- HighChart Tooltip Position can be changed?
- Can't disable animation when using Highcharts in polar mode
- Getting a django view python dict into highcharts series data
- How to create dynamic update spline Highcharts chart?
- Highcharts draggable points - prevent hidding tooltip
- Highcharts: Click to update column color --- need a mouseover?
- Highcharts xRange Chart timeline not shown when zoom
- Highcharts - SMA Indicator does not display
- "Uncaught SyntaxError: Unexpected token = " ... JavaScript/HighCharts?
- Export Highcharts data in excel with values as a string