score:2
Accepted answer
You can hide all series by default using plotOptions. Then in callback show first series: http://jsfiddle.net/AYYCv/142/
$('#container4').highcharts({
data: {
googleSpreadsheetKey: '0AtF0efQI2GskdE5Yei1VODZuTlBKUi1rc0JnNmxRQVE'
},
plotOptions: {
series: {
visible: false
}
},
title: {
text: 'Playground'
}
}, function(chart) {
chart.series[0].show();
});
score:0
You are going to need to pre-process your data somehow. To do it after you have parsed the data into json and have created your series you can use the visible
property like so:
series: [{
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],
visible: false
}, {
data: [144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4, 29.9, 71.5, 106.4, 129.2]
}]
Source: stackoverflow.com
Related Query
- Highcharts data from google spreadsheet hide all series except one at start
- Highcharts data from Google spreadsheet show line chart for one series
- Proper way to remove all series data from a highcharts chart?
- How to hide one series data info in tooltip using highcharts
- Highcharts Highstock How to Plot OHLC and Line Charts from One Set of Embedded CSV Data Using Series Map Tools?
- Highcharts Highmaps How to import data from google spreadsheet
- Highcharts data from google spreadsheet show directed line
- Highcharts displays series names but missing data points from json source
- Strip/escape special characters from Google Spreadsheet field before passing data to Highcharts Graph
- HighCharts Hide Series Name from the Legend
- Highcharts Series - want to show/hide all EXCEPT selected series (reversal of default logic)
- How can I hide series from a HighCharts legend?
- How can I hide a series from initially being displayed in Highcharts
- How can i hide all the Series in highcharts at a time
- Hide all but selected data series, HighCharts
- How can I delete all of the points from a highcharts series
- How do I hide a Highcharts series from the chart, but always show it in the tooltip?
- Highcharts show the same yAxis start and end value with multiple data series
- HighCharts - data from different intervals in one xAxis (hide second xAxis)
- Highcharts area chart hide graphs with one data point
- show only one series data in High charts in start of drawing/load
- 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 to add Series data in Highcharts from MVC
- Can we get index from series data in highcharts
- Creating a responsive accumulated rain chart from a series containing individual rain fall data using Highcharts
- How to import data from google spreadsheet in Highmaps map bubble
- How to hide data in a series in highcharts boxplot?
- highcharts group series click event to get all data in catagory
- How to hide series name from tooltip in Highcharts scatter plots for linear regression
- Pass array from js for loop to highcharts series data
More Query from same tag
- How to zoom chart line same as legend hover and reset automatically on button click in highcharts?
- highcharts x axis date variable range
- Add clickable link to tooltip in Highcharts Scatter Plot
- having issue when updation Highcharts object using highcharts-ng directive
- Highcharts: display peak values
- vue-highcharts dynamic master detail chart example
- How to calculate group padding in Highcharts based on x-axis width
- How to hide x and y axis line only in highchart?
- Add showLoading() in Highstock
- X axis shows the time from 12 till 12:55 instead of dates
- Highcharts - Grouped Scatter? (relative to Grouped Column)
- Adding Flags in Highcharter using R
- can zoom be mixed with multiple y-axis in highstock
- How do I transform between datetimes and chart coordinates in Highcharts Renderer?
- Loading a custom json file - highcharts.js
- HighChart created before $.getJSON
- Does Highchart - Heat map support SUM of values?
- Adding a custom tooltip to a bubble chart / highchart
- Bind highcharts chart to another series
- Jquery - Counting JSON objects
- Radar Chart: Label outside the chart
- Highcharts Line Chart does not fit data into all of categories
- jQuery Highcharts not working with JSF 2.0
- Multi-categories selection Chart in Highcharts
- Highcharts js set last month x axis data
- ChartJS/High Charts Radar chart - Different radial axis labels for each category that appear on hover
- show .Net core web API response in highcharts
- Combine multiple Yaxis in one
- Highcharts 3 like menu button won't display
- Need to make tooltip border color same as marker color using Highcharts