generating a pdf with dynamic google charts - google-visualization

I am trying to get mPDF to generate my report that has a lot of google charts on it. However it just ignores the charts and prints out black spaces.
Really dont know how to get the charts into the PDF.
Appreciate any help here please!
Thanks

Related

How to apply a dark theme to a shiny application

I would like to apply a dark theme to a shiny application (darkly, sandstone, cyborg ect) but the DT datatable produced does is almost impossible to read.
I am aware that this question has been asked before but the answer does not work for me. Using the DataTable example (https://shiny.rstudio.com/articles/datatables.html) could someone please let me know how to resolve this issue (i.e how to use a dark theme and produce a datatable that is readable?
Thank you

Advanced Segments returning unexpected results in Google Mobile App Analytics

I'm having a problem with Advanced segments in Google Mobile App Analytics.
A condition has been setup to include all screens that match regex "/01-12-2013/" - but it's also showing me screens which does not contain this string. For example I'm getting a screen name containing "/11-11-2013/" which I would have expected to be filtered out.
The segment seems to return different results based on which tab I'm in in Google Mobile App Analytics. If that helps at all.
In "Audience Overview" I's returning 48.02% of all Screen Views. In "Behavior Overview" it's returning 71.51% of all screen views.
Here are some screenshots to illustrate the problem.
This is going to sound a bit ridiculous but, when creating advanced segments, after you've created them, I'd give them an hour or two before relying on the data they provide. I still have yet to find a solid answer as to why this is, but across a wide range of sites over the past year or two I've found similar issues. I've noticed that when I create an advanced segment to filter specific pages, invariably the initial results still show irrelevant pages I specifically filtered out. The only thing I've been able to attribute this to is some sort of "lag", on Google's side, in updating the Analytics data/property/view/segment. In almost every case, I've simply waited an hour or two after creating an advanced segment, and the data that was filtered usually displays correctly by then.
An interesting thing I've also seen was that a third party reporting platform I use, that has a Google Analytics integration, actually displayed the correct advanced segmented data BEFORE it showed up properly in Analytics. Strange.

Create Graphs on Timeline card on Google Glass

I am trying to create graphs on timecards, which can be shown on Google Glass. Wat would be the best way to go about this? I tried using d3.js, but was unsure how to integrate the library.
Any help would be highly appreciated
Since you cannot run JavaScript inside a card on Glass, d3.js probably isn't the best choice.
Seek out a graphing library that generates images. You can then attach or source those images into the timeline cards you create.
This is deprecated, but could work nicely for your use case: https://developers.google.com/chart/image/

How to display line chart like a "steps"

For example the just below is the standard line chart
Though I want to see on the reports the chart like this:
Though I want to see on the reports the chart like this, so the series looks like a steps.
Is it possible to do it with google charts? I spent whole day to figure out if it is possible or not, though I didn't find any good solution.
Google charts currently doesn't support strings on the Y-Axis. We're looking at adding this feature in a later release of the charting API, so please stay tuned.

Google bar chart: what to do with too close values

Does anybody please have an advise on what to do with the too close values in different series, which overlap - like in the right bar below?
My chart URL - please click to see the parameters
I can't find a good chm parameter for all of the data I have.
Shouldn't overlapping be handled by the Google charts automatically in this case? Is this a bug?
Yes, this is a bug in Google's API. But unfortunately, it is a deprecated API...