Is highcharts sparkline with multiple series possible? - highcharts

Is it possible to have multiple series/datapoints per sparkline chart in a sparkline set? The demo page for the sparkline page doesnt show any form of customization other than physical appearance like color.

Just copy/pasting morganfree's answer so I can mark this question as answered already. cheers~
Sparkline is a just a set of charts inside a table - you can customise
it as you customise a regular chart. If you want multiple series
inside the chart, set it in series prop - jsfiddle.net/6pvzb2zc –
morganfree

Related

Is there a way to create a value in the middle of doughnut on google sheet

is there a way to made the value of "total" in the middle of doughnut chart instead part of the chart itself, I've try to create in a different series, but it won't work in doughnut chart. its very useful for me since the actual data keep update in 1 minute
data range selected A1:B4
enter image description here
One approach would be to create a scorecard chart using total value and overlay it on the doughnut chart.

Google Sheets Chart Axis Title does not update when source cell is formula

I want the Google Sheets chart x-axis title to change when the data in a chart changes. I've made a simple example to demonstrate the problem. In the following animated gif (click to see greater detail) the x-axis title does not update when the data in the scatter chart changes.
Apparently this happens because the source cell for that title (A1) is itself a formula (to give the average of the x-values -- in my real-world example, it's more complicated than that).
The only way I know to fix this is to delete the chart and make a new one, as shown in the last part of the animation. But with my real-world example, this is a lot more troublesome.
Thanks for any help.
I have been running a couple of tests and have some experience on how the charts are created under Sheets in comparison to the ones in Excel.
There have been multiple forums discussing this particular issue, the main issue with it is the fact that this portion of the Chart is only a title text and does not linked to any portion to the table or that you cannot select a custom formula to be used for updates. It is also mentioned over the official documentation that you can only manual edit this titles.
As an alternative, you could implement a script so it changes the chart title for the average.
function onOpen(){
SpreadsheetApp.getUi().createMenu('Charts').addItem('Update title of the first chart from active cell', 'myFunction').addToUi();
}
function myFunction() {
var sheet = SpreadsheetApp.getActiveSheet();
var chart = sheet.getCharts()[0];
chart = chart.modify()
.setOption('title', sheet.getActiveCell().getValue() || 'Empty')
.build();
sheet.updateChart(chart);
}
The portion of this code has been found and discussed over this thread.
I also believe that it should be a feature directly on Sheets and it should be implemented in the future, you can send feedback from the help option or go to the Feature ideas portal:
https://www.googlecloudcommunity.com/gc/Feature-Ideas/cmp-p/grouphub:workspace-ideas-group

Highcharts multiple stock series tooltip show

I have a question about several stock charts.
Put the series data into an array by name.
Hovering over the chart shows only one data.
I am curious how to make several together.
My code is here:
https://jsfiddle.net/HongRaeCho/rxpjy7nu/

Combining Google Combo chart with 2 values with line chart

So I have 3 values which are, Percent, Target, and Overtime.
I want to show on the chart the percent with overtime as one stacked column chart, but for the target, I want to make it show as one line as it will be like a fixed value.
I have tried a lot but it didn't work for me at all. Does anybody have any idea how to get this working, please?
Here is the sheet for the chart: https://docs.google.com/spreadsheets/d/1pSyWYMzDFGDNkDTfv1LMurcsvrN6bx3GjxVbmqFijk8/edit#gid=0
Is this were you looking for?
Chart editor: in Customize tab on Series setting you can change each one of [Percent,Target,Overtime] specifically to be type [line, column, or more] to make combo chart
I hope it'll help you

Can HighCharts LazyLoad a whole new series when clicking the LEGEND?

I wanna show several series in one chart, and I only wanna the first series to be shown by default. The other series's data shouldn't be fetched until the according legend is clicked, so that the loading speed will be faster.
Only when the according Legend is clicked, then the chart will use AJAX to fetch data and show it, Can highcharts do that?
I have seen several similar questions about lazyload, but they are all using highstock, can highcharts.js do it?

Resources