Eploring Google Chart Image API - google-visualization

I have following chart http://bit.ly/WXn4kb at my Appengine dashboard.
Am I right that image API is deprecated? If yes, which settings should I use to draw similar chart using new API?
Is there any service to see decoded chart params?
How can I use relative dates (-1d) in charts?

Related

What is the API endpoint in apache superset to update the filter values in an embedded chart?

I want to use custom react filter components on my embedded Apache superset dashboard. I was able to embed a dashboard using the superset-ui/embedded-sdk but I'm unable to pass filter values through the sdk that dynamically update the dashboard. So I want to send a POST request with my filter values to the API endpoint that updates the filter values of the queries in my dashboard. I also didn't want to use URL parameters as updating a single parameter meant for one chart updates the entire dashboard.
I've tried looking at the URL's POST requests made when I used a filter box in an embedded dashboard, and tried sending filter values to the same URL's but the charts in my dashboard don't reload. I am able to get the data for the chart but the chart inside the dashboard doesn't reload. I also made sure that the request bodies that I have sent are the same as the ones that were made when I used the filter box. I'm not sure if the endpoint is supposed to only fetch the data in which case I'm looking at how to update the chart with the data that I have fetched.
Superset version - 2.0.1
This was the endpoint that I tried;
http://localhost:8088/api/v1/chart/data

Tiles, copy visual as image in powerbi using rest api

I am new in Powerbi. I have requirement to download tiles using powerbi api. tiles reside at below url.
https://app.powerbi.com/groups/me/apps/{appid}/reports/{reportid}/{ReportSection}
I have access to app, i can see the reports in Powerbi.
I have seen powerbi api documentation. when i try with powerbi api UI i get error as Response Code: 404
{"error":{"code":"PowerBIEntityNotFound","pbi.error":{"code":"PowerBIEntityNotFound","parameters":{},"details":[],"exceptionCulprit":1}}}
It looks like you are using incorrect URL, Tiles are part of Dashboards but the URL that you mentioned is for Report.
Your URL for the tile component will be something like:
https://api.powerbi.com/v1.0/myorg/apps/{appId}/dashboards/{dashboardId}/tiles/{tileId}
Reference:
https://learn.microsoft.com/rest/api/power-bi/apps/get-tile

How to download the multiple bokeh images as a single report

My application is hosted on Django and one of the html pages shows multiple bar graphs which are drawn using Bokeh. I know we can download each graph separately by using SaveTool icon which comes with Bokeh.
Now my requirement is I want to have a export button in the page, when I click on export button, all the images should be downloaded in a single pdf file or any other format what ever is the easier option to implement.
Please guide me how can I achieve this?
Thanks In Advance.
If this is a Bokeh server application, you could use the export_png function. However, it sounds like it is a Bokeh server application, in which case there is nothing built-in for this. It looks like there is a JavaScript API for screen capture. So you could try using that API in a CustomJS callback for a Button. Note that for security reasons that API will make make users provide active consent every time before allowing a screenshot to be taken.

How to show legend for the Timeline Google Chart

I am working on the reports using Timeline Google Chart. Now, I want a legend for the same chart. Can we have a legend for a Timeline google chart? If yes, how to implement that? Well, I have gone through the documentation of Google chart, the examples(for legend) given were for the other charts(Bar, Line) but not for the Timeline chart.
Your response will highly appreciated.
Thanks

Annotated timeline google graph displaying issue

I am displaying data on annotated timeline google chart. It displays the data fine but if I scroll down my browser page and then scroll back up, it cuts off the top part of the chart and won't display it until I hover my mouse over it. Here are the pictures of what it looks like before and after
Before
After
How can I fix this issue? (Seriously google chart API sucks)