Create auto-update Gantt chart - google-sheets

I'm trying to create a Gantt chart in Google Sheets that will automatically color the cells corresponding to the start date and duration of the task.
How can I do that?

Update 201810
I've added a scale option and automated Ids in the chart. Please see the article here.
Paste this formula in G4:
=ArrayFormula(--(E4:E13<=G3:U3)*--(E4:E13+F4:F13>G3:U3))
And then format your data to show like diagramm.
Example file

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

Timeline Chart in Google Sheets

I am using a Timeline Chart in Google Sheets. Is it possible to make the number data in the chart show up in number format? For example, in the picture below, the number is 2175000. I would like it to display as 2,175,000. I have the data set up in number format already. It is showing up in number format when I test with other charts, just don't know how to get it to work with a timeline chart.
Timeline Chart
Try values suffix #,##,### under customize

Highcharts cloud issue with data source when duplicating chart

I'm fairly new to highcharts cloud and am trying to replicate a bunch of charts that are styled the same but have different data connections with Google Sheets. I've created a base chart and then replicated it a bunch of times for the other charts I need using the DUPLICATE button, then simply change the Google Sheets ID to a different one.
The trouble is that whenever I update the ID in the newly created chart, it also updates the ID in the chart I duplicated from - and for all other charts that I've duplicated from. So I end up with a bunch of charts that reference to the single sheet rather than individual sheets. Is this something that's known?
Let me explain what happens when you duplicate a chart. If the master chart contains some data then duplicating a chart does not create new information about that data. This means both charts, master and duplicated, are linked to the same dataset. If you change anything in data in master chart, then duplicated charts will inherit those changes too. The same will happen if you make changes in data in the duplicated chart - it will affect master chart.
To use the same colors and formatting across your different charts, please use Themes: https://cloud.highcharts.com/docs/#/themes

Is highcharts sparkline with multiple series possible?

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

Resources