Google visualization chart default zoomed in - google-visualization

I'm trying to get Google visualization line charts to zoom in as much as it can by default, and showing the newest data (region to the most right on the chart).
But I can't find any options for it on Googles line charts documentation.
The only thing I can see is explorer.maxZoomIn which is how much the user can possible zoom in.
Is there any default value I can set to have the chart zoomed in on a region?

Related

Google Cloud Vision - Data Set cannot be split into train, validation, test data

I am trying to build an object detection model using Google Cloud Vision. The model should draw bounding boxes around rice
What I have done so far:
I have imported an image set of 15 images
I have used the Google Cloud tool to draw ~550 bounding boxes in 10 images
Where I am stuck:
I have built models before, and the data set was automatically split into train, validation and test set. This time however, Google Cloud is not splitting the data set.
What I have tried:
Downloading the .csv with the labeled data and reimporting it into Google Cloud
Adding more labels beyond the one label I have right now
Deleting and recreating the data set
How can I get Google Cloud to split the data set?
Your problem is that Google Cloud Platform determined your train, test and validation sets when you uploaded your images. Your test and validation images are likely your last 5 images which are not available for training if you have not labeled them yet. If you label all of your images or remove those from the dataset you should be able to train. See this SO answer for more info.
You can verify this by clicking the Export Data option and downloading a CSV of your dataset: you can see that data set categories are already defined, even for images that have not yet been labeled yet.

Showing Data Viz (i.e. D3.JS,etc.) on Actions on Google

Is there a way to output a chart or other data visualizations in Actions on Google?
example:
User: "What is the percentage of sales this december?"
Actions: outputs a chart generated using d3js or other data viz tools
The only workaround that I can think of is by saving the chart as images then use that image to show in basic card. but the image is too small, it's not visually pleasing to use in other devices i.e. Google Home Hub.
The way to do that is generate an image and send it as a basic card. There's not another way to visually show information.

Power BI Drilldown Choropleth Custom Map Display Issues

I am attempting to create a map visual that shows sales by geography within the US by using the Power BI Drilldown Choropleth visual. I can get the visual to work correctly when using the shapefiles from the US Census Bureau's website (https://www.census.gov/geo/maps-data/data/cbf/cbf_state.html) and converting them to the Topojson format using mapshaper.org.
However when using my custom shapefiles which have custom regions and subregions the map only has one region bolded with the other ones grayed out, and when hovering over each region it only shows the sales of one of the regions no matter which region I am selecting. The numbers should change and show each region's sales when hovering the mouse over that region.
After several hours of searching online for a solution and coming up empty, I thought I would modify my shapefile to only one region to see if I can get one region to work. To my surprise, the region was mapped correctly, but the problem that occurred was that the region was not highlighted, but the rest of the map was. In other words, when hovering over the region with the mouse nothing would show up, but when I hovered over any other part of the map the region's sales would appear.
Has anyone had any similar experience? Any help to resolve this issue would be greatly appreciated.

PowerBI :How to set graphical template?

I am new to Power BI, and I need to set a fixed graphical chart to the enterprise.
The chart will be used for all dashboards generated from PowerBI (this chart contains the enterprise Logo, color chart,...).
Actually for the moment I am repeating the settings for every dashboard I create, but I need it to be automatically set as template for example.
Is that possible with Power BI please?
Thank you for your answers :)
There's the ability to add a custom theme from a JSON file. I believe this is still a preview feature you need to enable in the options.
This only does colour palette though. I don't think there's an ability to save the format of a visual as a template. You could suggest it over on the Power BI Ideas forum.

Power BI Web - How to add an Image to Power BI Report

How do I add an image to a Power BI Report? I know how to add an image to a dashboard
This refers to Power BI within a browser, not Power BI desktop
I cannot use Power BI desktop as that does not support Stream Analytics data
Cheers
Paul
If you are stuck editing in a browser, then there is no way to add an image.
There are visuals (e.g. table) that can show an image based on a URL, but the URL must already exist in the dataset. You cant edit or create columns or measures using a browser.
I do not believe there is any native way to do this, however,There is a workaround which is:-
1.Add any chart type
2.Apply any empty dataset to it
3.Under format scroll down the Plot Area
4.Add Image
Add images, videos, and more to your dashboard
By adding a tile to your dashboard, you can place an image, text box, video, streaming data, or web code on the dashboard.
Watch Amanda add tiles to a dashboard.
You can add an image, text box, video, streaming data, or web code directly to your dashboard.
Select the arrow next to Edit on the top menu, and then select Add a tile.
Select which type of tile to add:
Web content
Image
Text box
Video
Custom streaming data
Add an image
If you want to add your company logo or some other image to your dashboard, you save the image file online and link to it. Make sure security credentials aren't required to access the image file. For example, because OneDrive and SharePoint require authentication, images stored there can't be added to a dashboard this way. Also, images can't be in .svg format.
From the Add tile window, select Image > Next.
From the Add image tile window, add the image information:
a. To display a title above the image, select Display title and subtitle and enter a Title and an optional Subtitle.
b. Enter the image URL.
c. To make the tile a hyperlink, select the Set custom link and enter the URL.
When colleagues click the image or title, they'll be taken to this URL.
d. Select Apply.
On the dashboard, resize and move the image as needed.
Easy workaround:
(in Edit mode, of course)
insert a blank button (Buttons->Blank),
in the Format Pane under the "Style" section, for the "icon type" set custom
click on "browse" to choose your image file