Add column data value labels in Google Drive Spreadsheet chart - charts

Is there an (easy) way to add data-value labels to the columns of a Google Drive Spreadsheet column chart? Either fixed or mouse-over?
I have the charts already made, and would not like to have to define them again.
So I'm basically looking to alter the default behaviour of the existing charts.
The spreadsheet and charts are not (yet) for publishing, only for sharing directly.
Nick

Google Sheets embedded charts have text annotations. To use them for values, you could use TEXT() function. I.E. assume that you have a two column chart, then add a third column for annotations. Add the following formula
=TEXT(A2,"0")
then fill down as necessary.
Example
References
Adding annotations to a chart - Docs Editors Help

Related

Configuring Data Table from Highcharts Basic Column Chart

I am working with Highcharts and looking to create a data table from the Basic Column chart (https://www.highcharts.com/demo/column-basic) with the following functionality:
Flip the row and columns so that the x-axis of the bar chart is the column headers in the data table. So in the example link above, when I click on "View Data Table", I want to take the x-axis from the chart and make it the column headers in the data table.
Be able to sort the columns.
I see examples online of how to do that by building the table first and then creating the chart from the table. But isn't this possible the other way around - creating the chart first and then just configuring the data table to have the above functionality?
Or do you have to create the table first, and then create the chart from that?
I think that the right approach to your requirements will be creating a custom HTML table and parsing data from it into the chart, just like here: https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/demo/column-parsed/
API: https://api.highcharts.com/highcharts/data.table

How to create a vertical line chart from fields on detail record

Trying to create a vertical line chart from data in 4 separate fields per Detail record.
I know how to do it using Excel (see image), trying to figure out how to do it using Crystal Charts. Also, data is per detail record and I found that I can only insert a chart on a header or footer section.
I'm also not sure I'm using the correct verbiage as I can't seem to find an answer using google searches.
Thanks!
You can insert chart into crystalreport from insert --> chart and choose type of chart and data will show in chart, chart insert in header and footer report but will contain all data you choose, also you can insert chart into hadear and footer group if you use group.
Note: Attached picture from crystal report
You can insert a group to provide header/footer for each detail section.
Or, one of the Crystal Reports User Function Libraries listed here allows you to add special charts anywhere you wish within your report, feeding the data into the chart using formula logic.

Double first column in google Timeline Chart

we're using Google's timeline chart and we need it to look sort of like this:
desired output
but Google Charts won't allow more than one column at the beginning of each track.
current output
Is there any way to have two separated columns? Or another chart library that supports this format?

create complex table header in tableau sheet

As you can see (below) I have LastYear, CurrentYear, %YOY (calculated) for NetSaleAll, NetSaleAll(New), and NetSaleAll(Retained), so totally 9 measures in the source (different names of course). So question is how to add NetSaleAll, NetSaleAll(New), and NetSaleAll(Retained) text for related measures (LastYear, CurrentYear, %YOY (calculated))?
You can achieve by creating headers in one sheet and data in other sheet and then in dashboard combining both sheets.
I have made changes and attached the book in same link.

Named ranges in google spreadsheet charts?

Edit: This question relates to the "old" google spreadsheets that were current in 2013.
Is it possible to use named ranges in google spreadsheet charts?
I need to dynamically update the dimension (starting position and size) of a range and be able to reflect it in a chart, i.e. I need the chart source range to follow the position of moved source data range.
Extra information:
I've got two sheets. One has a header followed by 'input' row and data rows. When I type anything into 'input' row my script automatically adds a row just after this one and moves my new input there, therefore creating new row of data.
About chart: If I assign a data range that includes only data rows, new row won't be included because whole 'old' range got shifted. $ sign is ignored when specifying data range. So what I'm doing is to include in the range my 'input' + 1 header row. They have no values so in the chart you cannot see data points in the first two positions. I'm using a combo chart with another range from another sheet that has no header, so it looks like this:
(usually there is some value for the green histogram right at the origin of the chart).
So the line chart is shifted by two positions to the right, but it should start from position 0, so I want the chart to somehow follow the range or to redefine it, so it always stars from the first data row. I hope it makes sense.
Charts use range as argument, have you tried to simply use getRangeByName to define the range ?
Charts don't support named ranges. However, you can set up your chart so that the source data range is an entire column (for example, Sheet1!D:D). Then the chart will show all the values in that column, taking into account even rows that you will add (or delete) after chart creation. If the first rows (for example 4) contain table headers you can specify something like Sheet1!D5:D as your source data range
In searching for this, I found a solution I thought I'd share.
I have a set of data from which I'd like to create a set of charts. My fairly simple workaround was to create a new tab for each chart with a pivot table to pull in my data based on my criteria for each chart. I inserted a row at the top to hold a SUM of my values in the pivot table below, rather than referencing the moving "Total" cell in the pivot table itself.
Note: I hid the title row of the pivot table and unchecked the "Totals" within it to get the SUM to work correctly. Hope this helps someone!