Use different date format on Google Sheets chart? - date

I am sampling data twice a day and sending it via IFTTT to Google Sheets. All working well but ideally I would like the date format on the chart to be different to that in the sheet and I can't see an obvious way to do that other than to create another column in the sheet. See attached, is it possible to have the date without the time on the chart?
Thanks!

This is possible using Google Charts, or the Charts Service of Apps Script.
The documentation on Google Visualizations has many examples, its not straight forward at first, but with a couple of examples you'll get the hang of it and tailor your chart to your desired output.
In your case, the hint is to modify the horizontal axis format.
See this example to start with: https://developers.google.com/chart/interactive/docs/datesandtimes#formatting-axis,-gridline,-and-tick-labels

Related

Google Visualization Chart Stopped Working

I have created a dashboard which uses JSON data to create several different kinds of google visualization charts. This dashboard has been working perfectly for two years. Just in the past day or so, the column chart and the line chart give a "Cannot read property 'Do' of undefined" error while my tables and maps continue to work. I have checked all of the most recent records to make sure there is nothing that could be undefined and I have found no issues. I've checked my arrays in the console and they all look correct. I've also checked the chart objects in the console just before drawing and they are properly populated, so I am stumped. Can anyone help me figure out what could be happening?
load google charts with a saved version (a.k.a. Frozen Charts Version)...
google.charts.load('50', {
when implementing a page or application,
always use a saved version of google charts.
this way, changes to the 'current' version can't mess with your code.
you can find a list of the saved versions at the following link,
along with the changes that were implemented...
https://developers.google.com/chart/interactive/docs/release_notes#version-history

Charts with DevExpress / DevExtreme

Hi I'm searching for a good chart plugin for my web-application, which can solve some of my requirements. To date, I've tested follow chart plugins:
Kendo UI
FusionCharts
HighCharts
Angular Charts
The plugin highcharts solves all of my requirements, but it's really expensive. The others don't solve all of my requirements, so I have to search another one. The solution of a hand-made chart needs a lot of time and that means for our company, it's also expensive. Now I've found the framework DevExpress. Before I invest a lot of time to test it, I would like to inform myself, if it's possible to make charts with DevExpress with this requirements:
Any number of y-axes with various values
Events (detect if clicked for example)
Costume style with css (I think I saw it on their website)
Integrate it as HTML in custome code
Supports JSON
Mixed line-style (for example, a part of a line in the chart is solid, another is dotted, but it's the same line)
Responsive Design
My results with highcharts:
Any number of y-axes with various value types:
Mixed linetypes in same line (blue line):
Special chart constalations:
This special requirements are for the healthcare, because they have some weird and special charts they need for checking medical results. So it's simply complicate, to find a good plugin. If there is someone who has a knowledge with DevExpress and charts and can answer me I would be thankfull.
Cheers.
Any number of y-axes with various values
DevExtreme has Multiple Axes Demo
Events (detect if clicked for example)
DevExtreme Charts have handlers for events. Here is a demo illustrates onPointClick
Costume style with css (I think I saw it on their website)
See it in Appearance Customization Article & Customize Points and Labels demo
Supports JSON
Remote Data Source Using an Ajax Query Demo
Responsive Design
DevExtreme Charts looks good on phones, tablets and desktops (Mobile & Web)
You can see more in Widgets Gallery Demo & Documentation

Google Charts double hAxis Label?

I'm currently using Google Charts to produce some graphs, and I've come up against this problem.
I want to have two labels on my hAxis, and I cannot see any obvious solution on the developers site.
The image included gives an example of the kind of result I'm looking for, any ideas?

Google Sheets Custom Gauge Chart

Is it possible to use a cell value as the MIN/MAX values within a gauge chart? At the moment if I set the value so anything other than an integer value it gets cleared the sec I move away from the input field.
I've looked into other customization options but all the documentation for coding custom values for charts seems to be when using the draw api on a custom app or webpage. In this instance I'm just trying to customize and embed the charts within the current working spreadsheet.
Appreciate any help or insight the community may have cause my searching is returning NULL.
No. Try and enter anything other than a number and a warning message appears:
Must be a number.

Get Drill down URL from FusionCharts events

I'm working with FusionCharts (specifically a column chart). The chart is created from a rest endpoint that outputs chart xml. The endpoint also encodes xml-urls into the chart for drill-down. I want to capture these urls in order to change the contents of the surrounding form (to make it appear the parameters chosen generated that chart).
The problem I'm running into is that the BeforeLinkedItemOpen and LinkedItemOpened events do not contain the url the chart is pulling its xml from.
The LinkedChartInvoked event does contain this information - its just only called navigating the first level of the drill-down.
I have five levels of drill-down, so that won't work. Anyone know of a way to get the information I'm looking for?
I never did find an answer for this. It appears that FusionCharts simply does not report this information and I could not do what I was trying to do.