{"id":6672,"date":"2024-04-14T18:14:02","date_gmt":"2024-04-14T10:14:02","guid":{"rendered":"https:\/\/webflow.tenten.co\/?p=6672"},"modified":"2024-04-14T18:14:02","modified_gmt":"2024-04-14T10:14:02","slug":"chart","status":"publish","type":"post","link":"https:\/\/webflow.tenten.co\/en\/chart\/","title":{"rendered":"Chart"},"content":{"rendered":"\n<div class=\"docs_rich-text w-richtext\">\n<p>The <strong>chart<\/strong> tag enables you to embed an interactive graphic to your site using the Google Maps JavaScript API. You have the option to define the location you want to emphasize and select various display preferences.<\/p>\n<h5>Within this tutorial<\/h5>\n<ol>\n<li>Insert a chart<\/li>\n<li>Establish an API Key<\/li>\n<li>Customize your chart settings<\/li>\n<li>Design your chart<\/li>\n<\/ol>\n<h5>Prior to commencing<\/h5>\n<blockquote><p>If you plan to utilize the chart element, you must acquire a Google Maps API key. Charts without keys will display low-resolution maps marked with \u201cfor development purposes only.\u201d Further details provided below.<\/p><\/blockquote>\n<h2>Insert a chart<\/h2>\n<p>You can place a chart element on your webpage from the <strong>insert elements<\/strong> section in the <strong>(A) \u2192 components<\/strong> panel.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"433px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b94a153c027cc2ab0f2a93_5e61319c2ea57b03024dea27_5b604fedb66e7107d222d40f_map252520element.png\" title=\"64b94a153c027cc2ab0f2a93_5e61319c2ea57b03024dea27_5b604fedb66e7107d222d40f_map252520element\"><\/div>\n<\/figure>\n<p>If you insert a chart onto the canvas without adding the Google Maps JavaScript API key to your project settings, a gray chart placeholder will be displayed.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"2880px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b94a153c027cc2ab0f2aa8_5e61319ddf9df80475ee30f9_591f689d257467641694142c_screen252520shot2525202017-05-19252520at2525202-29-58252520pm.png\" title=\"64b94a153c027cc2ab0f2aa8_5e61319ddf9df80475ee30f9_591f689d257467641694142c_screen252520shot2525202017-05-19252520at2525202-29-58252520pm\"><\/div>\n<\/figure>\n<h3>Alternate methods to integrate charts<\/h3>\n<p>You can embed a chart within a text block by pasting the Google map URL in the <strong>rich media<\/strong>\u00a0embed feature available in the\u00a0<strong>plus (+)<\/strong>\u00a0menu when your cursor is on a new line within the text editor. Learn more about rich media.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"498px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b9488988e591e7f60c9558_5e61319ddf9df856f0ee30fa_59821799dbdb270001051955_inline252520media.png\" title=\"64b9488988e591e7f60c9558_5e61319ddf9df856f0ee30fa_59821799dbdb270001051955_inline252520media\"><\/div>\n<\/figure>\n<p>You can also integrate a static Google chart directly from the <a href=\"https:\/\/www.google.com\/maps\" target=\"_blank\" rel=\"noopener\">Google maps<\/a> website. Simply <a href=\"https:\/\/support.google.com\/maps\/answer\/144361\" target=\"_blank\" rel=\"noopener\">copy the embed code<\/a> and paste it into an embed component on your page. Adjust the width and height of the chart by editing the code itself. Set both to 100%, then assign specific width and height dimensions to the <strong>embed element<\/strong> within the <strong>style panel<\/strong> for the desired size.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"798px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b94a153c027cc2ab0f2a98_5e61319cd21513aed3bb1c56_5b6166e3ef278d114378d49c_map252520embed252520width.png\" title=\"64b94a153c027cc2ab0f2a98_5e61319cd21513aed3bb1c56_5b6166e3ef278d114378d49c_map252520embed252520width\"><\/div>\n<\/figure>\n<h6>Explore these guides to incorporate charts from a variety of chart platforms.<\/h6>\n<h2>Establish an API key<\/h2>\n<p>To utilize a live chart on your website, you must create and link an API key to your project.<\/p>\n<ol>\n<li>Access the <strong>chart settings<\/strong>\u00a0(double-click\u00a0the chart on the canvas or\u00a0choose it and hit enter).<\/li>\n<li>Click<strong>\u00a0&#8220;Add API key&#8221;. You&#8217;ll be directed to your<\/strong>\u00a0<strong>project settings \u2192 integrations \u2192 Google maps<\/strong>. This is where you will input your API key for Google Maps.<\/li>\n<\/ol>\n<figure class=\"w-richtext-figure-type-video w-richtext-align-fullwidth\" data-rt-type=\"video\" data-rt-align=\"fullwidth\" data-rt-max-height=\"56.25%\">\n<div><iframe src=\"https:\/\/player.vimeo.com\/video\/223846723\" frameborder scrolling=\"no\"><\/iframe><\/div><figcaption>\u00a0<\/figcaption><\/figure>\n<h3>Generate an API Key<\/h3>\n<p>Visit the <a href=\"https:\/\/cloud.google.com\/maps-platform\/\" target=\"_blank\" rel=\"noopener\">Google Maps platform<\/a>, initiate the process and follow the instructions to produce your API key:<\/p>\n<ol>\n<li>Select Maps<\/li>\n<li>Create a new project or select an existing project from the dropdown<\/li>\n<li>Configure your <a href=\"https:\/\/cloud.google.com\/billing\/docs\/how-to\/manage-billing-account?hl=en&amp;visit_id=1-636686343345944048-2002572511&amp;rd=2\" target=\"_blank\" rel=\"noopener\"><strong>Google Cloud Platform billing account<\/strong><\/a><\/li>\n<li>Access\u00a0<strong>Credentials<\/strong>\u00a0on the left<\/li>\n<li>Select\u00a0<strong>Create Credentials<\/strong>. Opt for <strong>API Key.<\/strong><\/li>\n<li>Activate the API for the project<\/li>\n<li>Copy the generated API key<\/li>\n<\/ol>\n<h3>Insert API key into your project<\/h3>\n<p>Having copied your API key, you must insert it into your project:<\/p>\n<ol>\n<li>Visit your\u00a0<strong>project settings \u2192<\/strong>\u00a0<strong>integrations<\/strong>\u00a0Tab \u2192\u00a0<strong>Google Maps<\/strong>\u00a0section<\/li>\n<li>Paste the API key in the\u00a0<strong>Google Maps JavaScript API Key<\/strong>\u00a0field<\/li>\n<li><strong>Save the alterations<\/strong><\/li>\n<li><strong>Publish<\/strong>\u00a0your site<\/li>\n<\/ol>\n<figure class=\"w-richtext-figure-type-video w-richtext-align-fullwidth\" data-rt-type=\"video\" data-rt-align=\"fullwidth\" data-rt-max-height=\"56.25%\">\n<div><iframe src=\"https:\/\/player.vimeo.com\/video\/223847117\" frameborder scrolling=\"no\"><\/iframe><\/div><figcaption>\u00a0<\/figcaption><\/figure>\n<h3>Constrain your API key<\/h3>\n<ol>\n<li>Return to the Google Developer Console (where you copied your API key from)<\/li>\n<li>Click\u00a0constrain key<\/li>\n<\/ol>\n<h6>You can also access key constraints under credentials \u2192 credentials \u2192 API keys. Click on the desired API to enforce restrictions.<\/h6>\n<ol start=\"4\">\n<li>Choose\u00a0<strong>HTTP referrers (web sites)<\/strong>\u00a0within\u00a0<strong>key restrictions<\/strong><\/li>\n<li>Specify your domain(s) under\u00a0<strong>accept requests from these HTTP referrers (web sites)<\/strong><\/li>\n<li><strong>Save<\/strong>\u00a0your key restrictions<\/li>\n<\/ol>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"771px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b94a153c027cc2ab0f2aa4_5e61319c30fed6aa29da9a43_5b60621feba3a205bef97ef0_restrictions.png\" title=\"64b94a153c027cc2ab0f2aa4_5e61319c30fed6aa29da9a43_5b60621feba3a205bef97ef0_restrictions\"><\/div>\n<\/figure>\n<h3>Register your project on Google<\/h3>\n<p>To activate the Maps API, you may need to register your project. Follow these instructions to register your project and activate the Maps API:<\/p>\n<ol>\n<li>Access the <a href=\"https:\/\/console.developers.google.com\/flows\/enableapi?apiid=maps_backend&amp;reusekey=true&amp;authuser=1\">Google Developer Console<\/a><\/li>\n<li>Choose the specific item to enable the API for<\/li>\n<li>Select the <strong>Library<\/strong> tab on the side panel<\/li>\n<li>Within the <strong>maps<\/strong> segment, click <strong>Maps Javascript API<\/strong><\/li>\n<li>If the API is enabled, no further action is required.<\/li>\n<\/ol>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"485px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b94a153c027cc2ab0f2aa0_5e61319ce37ec3094dde232e_5b60655fe5d6f8465518732f_api252520enabled.png\" title=\"64b94a153c027cc2ab0f2aa0_5e61319ce37ec3094dde232e_5b60655fe5d6f8465518732f_api252520enabled\"><\/div>\n<\/figure>\n<ol start=\"6\">\n<li>In case the\u00a0<strong>Enable<\/strong>\u00a0button is visible, just press it to activate the API for your property.<\/li>\n<\/ol>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"479px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b94a153c027cc2ab0f2a9c_5e61319c5d6b0e137b887c1e_5b6065fc1081bbcaa250edea_api252520disabled.png\" title=\"64b94a153c027cc2ab0f2a9c_5e61319c5d6b0e137b887c1e_5b6065fc1081bbcaa250edea_api252520disabled\"><\/div>\n<\/figure>\n<h5>Essential details \u2014 Google Maps Platform API &amp; billing<\/h5>\n<blockquote><p><strong>NOTE: The information shared in this section might be outdated. It is advisable to refer to Google&#8217;s documentation for the most recent updates.<\/strong><\/p><\/blockquote>\n<h6>A new pay-as-you-go pricing structure was introduced by Google Maps Platform, effective July 16, 2018, for their map APIs. A $200 USD Google Maps Platform credit is allocated each month for every billing account. This credit provides users with 28,000 free page loads monthly. Exceeding this limit will result in a charge of 0.007 USD per map load for the initial 100,000 map loads.\u00a0<a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/usage-and-billing\">Explore further on Maps JavaScript API usage and billing<\/a>.<\/h6>\n<h6>For existing map APIs, the\u00a0<a href=\"https:\/\/mapsplatformtransition.withgoogle.com\/\" target=\"_blank\" rel=\"noopener\">Google Maps Platform Transition Tool<\/a>\u00a0can be used to introduce billing to ongoing projects and safeguard the API keys.<\/h6>\n<h6>For additional details, refer to the <a href=\"https:\/\/developers.google.com\/maps\/faq#understanding-terms-of-service\" target=\"_blank\" rel=\"noopener\">Google Maps API FAQ<\/a> page. For assistance and other inquiries related to the Google Maps API, visit the <a href=\"https:\/\/developers.google.com\/maps\/support\/\" target=\"_blank\" rel=\"noopener\">Google Maps Platform Support and Resources<\/a> page.<\/h6>\n<h2>Customize your map preferences<\/h2>\n<p>The Map component will display a standard preview of the map in the Designer, while the actual map can be viewed on your published website.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94a153c027cc2ab0f2aac_5e61319c2ea57b57b04dea29_5bc8439e612fc8e2cc19a49f_5amnudobxzq_kdwbdk84nn2qgjn7-mcn-b3iq9al6io0wle1dobtfnj7fvvz1ekw5sauksynokq7twol_rkrocd_waijmgw-n8f0rxxstonsubhtdkbnioruo95px.png\" alt=\"This is a generic preview \u2014 you can view the actual map on your published site.\" title=\"64b94a153c027cc2ab0f2aac_5e61319c2ea57b57b04dea29_5bc8439e612fc8e2cc19a49f_5amnudobxzq_kdwbdk84nn2qgjn7-mcn-b3iq9al6io0wle1dobtfnj7fvvz1ekw5sauksynokq7twol_rkrocd_waijmgw-n8f0rxxstonsubhtdkbnioruo95px\"><\/div><figcaption>\u200dThis is a generic preview \u2014 you can view the actual map on your published site.<\/figcaption><\/figure>\n<p>To update the map, double-click on it, input an address or a general location, and hit enter. If Google Maps recognizes that address, it will be automatically updated within the Address field.<\/p>\n<figure class=\"w-richtext-figure-type-video w-richtext-align-fullwidth\" data-rt-type=\"video\" data-rt-align=\"fullwidth\" data-rt-max-height=\"56.25%\">\n<div><iframe src=\"https:\/\/player.vimeo.com\/video\/223836988\" frameborder scrolling=\"no\"><\/iframe><\/div><figcaption>\u00a0<\/figcaption><\/figure>\n<h3>Explore preferences<\/h3>\n<p>Access additional map settings by tapping on <strong>Show All Settings<\/strong> in the popup modal or navigating to the Element Settings Panel. This provides control over the specific appearance and functionality of your map, allowing adjustment of the following:<\/p>\n<ul>\n<li><strong>Tooltip<\/strong> &#8211; define the text to be displayed above your Map pin for the location<\/li>\n<li><strong>Zoom<\/strong> &#8211; adjust the level of magnification on the map. A value of 0 shows a broader area, while 18 zooms in on the designated location.<\/li>\n<li><strong>Map Type<\/strong> &#8211; choose from four map types: Road, Terrain, Satellite, or Hybrid.<\/li>\n<\/ul>\n<figure class=\"w-richtext-figure-type-video w-richtext-align-fullwidth\" data-rt-type=\"video\" data-rt-align=\"fullwidth\" data-rt-max-height=\"56.25%\">\n<div><iframe src=\"https:\/\/player.vimeo.com\/video\/223837553\" frameborder scrolling=\"no\"><\/iframe><\/div><figcaption>\u00a0<\/figcaption><\/figure>\n<h3>Navigation and interaction preferences<\/h3>\n<p>Modify how the map responds to user interaction in the <strong>Element Settings panel \u2192 map settings.<\/strong><\/p>\n<ul>\n<li><strong>Scrollwheel<\/strong> &#8211; Enable or disable scrollwheel zooming on the map. Scrollwheel movement within the map boundary will change the zoom level. Unchecking this option prevents accidental zooming.<\/li>\n<\/ul>\n<figure class=\"w-richtext-figure-type-video w-richtext-align-fullwidth\" data-rt-type=\"video\" data-rt-align=\"fullwidth\" data-rt-max-height=\"56.25%\">\n<div><iframe src=\"https:\/\/player.vimeo.com\/video\/223837710\" frameborder scrolling=\"no\"><\/iframe><\/div><figcaption>\u00a0<\/figcaption><\/figure>\n<ul>\n<li><strong>Touch drag<\/strong> &#8211; Enable or disable two-finger touch actions like panning and zooming on touch devices. Disabling this prevents unwanted movements while scrolling or navigating the page with a touch gesture.<\/li>\n<\/ul>\n<figure class=\"w-richtext-figure-type-video w-richtext-align-fullwidth\" data-rt-type=\"video\" data-rt-align=\"fullwidth\" data-rt-max-height=\"56.25%\">\n<div><iframe src=\"https:\/\/player.vimeo.com\/video\/223837802\" frameborder scrolling=\"no\"><\/iframe><\/div><figcaption>\u00a0<\/figcaption><\/figure>\n<h2>Design your map<\/h2>\n<p>To personalize a Map component for specific behavior and positioning, adjust its dimensions and style. Class renaming and application can be used consistently across multiple maps within the project.<\/p>\n<p>To view the map appearance, publish the site and navigate to your site.<\/p>\n<figure class=\"w-richtext-figure-type-video w-richtext-align-fullwidth\" data-rt-type=\"video\" data-rt-align=\"fullwidth\" data-rt-max-height=\"56.25%\">\n<div><iframe src=\"https:\/\/player.vimeo.com\/video\/223837904\" frameborder scrolling=\"no\"><\/iframe><\/div><figcaption>\u00a0<\/figcaption><\/figure>\n<\/div>\n","protected":false},"excerpt":{"rendered":"Combine the power of Google Maps and Webflow&#8217;s map component to embed an interactive map on your site.","protected":false},"author":2,"featured_media":6673,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":"","footnotes":""},"categories":[290],"tags":[],"class_list":{"0":"post-6672","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-elements","8":"cs-entry"},"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts\/6672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/comments?post=6672"}],"version-history":[{"count":0,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts\/6672\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/media\/6673"}],"wp:attachment":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/media?parent=6672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/categories?post=6672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/tags?post=6672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}