{"id":2191,"date":"2024-09-23T16:52:08","date_gmt":"2024-09-23T16:52:08","guid":{"rendered":"https:\/\/digitaldocumentation.wustl.edu\/web-design-system-documentation\/?page_id=157"},"modified":"2024-09-23T17:05:19","modified_gmt":"2024-09-23T17:05:19","slug":"chart-line","status":"publish","type":"page","link":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/","title":{"rendered":"Chart &#8211; line"},"content":{"rendered":"\n<p class=\"is-style-lead\">The line chart is best used for comparing sets of data over intervals.<\/p>\n\n\n\n<div class=\"wp-block-washu-line-chart\"><div class=\"chart-active\"><div class=\"chart-toggle\"><button class=\"icon-button table-view\">Table View<\/button><\/div><h3>SNACK CONSUMPTION<\/h3><p class=\"disclaimer\">Trends in St. Louis<\/p><div class=\"line-chart-section\"><canvas id=\"line-chart\" class=\"line-chart\" height=\"150\" role=\"presentation\"><\/canvas><ul class=\"chart-data-lines\" data-y-axis-symbol-before=\"\" data-y-axis-symbol-after=\"\"><li><span class=\"label-color\" role=\"presentation\"><\/span><span class=\"chart-label\">Donuts<\/span><\/li><li><span class=\"label-color\" role=\"presentation\"><\/span><span class=\"chart-label\">Bread<\/span><\/li><li><span class=\"label-color\" role=\"presentation\"><\/span><span class=\"chart-label\">Cake<\/span><\/li><\/ul><\/div><table class=\"line-chart-table\"><tr><th><\/th><th class=\"chart-label\">Donuts<\/th><th class=\"chart-label\">Bread<\/th><th class=\"chart-label\">Cake<\/th><\/tr><tr><th>2019<\/th><td data-value=\"100\">100<\/td><td data-value=\"60\">60<\/td><td data-value=\"70\">70<\/td><\/tr><tr><th>2020<\/th><td data-value=\"150\">150<\/td><td data-value=\"500\">500<\/td><td data-value=\"50\">50<\/td><\/tr><tr><th>2021<\/th><td data-value=\"120\">120<\/td><td data-value=\"300\">300<\/td><td data-value=\"100\">100<\/td><\/tr><tr><th>2022<\/th><td data-value=\"110\">110<\/td><td data-value=\"200\">200<\/td><td data-value=\"100\">100<\/td><\/tr><\/table><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Components of a line chart<\/h2>\n\n\n\n<p>There are five components:<\/p>\n\n\n\n<ol>\n<li>Chart Heading<\/li>\n\n\n\n<li>Chart Description (optional)<\/li>\n\n\n\n<li>Line label<\/li>\n\n\n\n<li>X-axis label<\/li>\n\n\n\n<li>Data fields<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">How to use a line chart<\/h2>\n\n\n\n<ol>\n<li>Navigate to the place in the&nbsp;<a href=\"https:\/\/digitaldocumentation.wustl.edu\/doc-central\/blocks\/charts\/chart-donut\/page\">Page Editor<\/a>&nbsp;where you want the chart to appear.<\/li>\n\n\n\n<li>Select&nbsp;<strong>Line Chart<\/strong>&nbsp;from the list of blocks.<\/li>\n\n\n\n<li>Start typing a&nbsp;<strong>Chart Heading.<\/strong><\/li>\n\n\n\n<li>Click on the&nbsp;<strong>Chart Description<\/strong>&nbsp;area to add a description, if desired.<\/li>\n\n\n\n<li>Click on&nbsp;<strong>Add New Line Label<\/strong>&nbsp;for as many lines as needed for your chart. Label each line.<\/li>\n\n\n\n<li>Click on&nbsp;<strong>Add New X-axis Label<\/strong>&nbsp;for as many intervals as needed for your chart. Label each interval.<\/li>\n\n\n\n<li>Add&nbsp;<strong>Data<\/strong> in each field&nbsp;for each line at each interval.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Considerations<\/h2>\n\n\n\n<p>Avoid using line charts in columns as the narrow display makes content difficult to read as well as difficult to manage in the Page Editor.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The line chart is best used for comparing sets of data over intervals. Components of a line chart There are five components: How to use a line chart Considerations Avoid using line charts in columns as the narrow display makes content difficult to read as well as difficult to manage in the Page Editor.<\/p>\n","protected":false},"author":11,"featured_media":0,"parent":2190,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.14 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Chart - line - Web User Guide<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Chart - line - Web User Guide\" \/>\n<meta property=\"og:description\" content=\"The line chart is best used for comparing sets of data over intervals. Components of a line chart There are five components: How to use a line chart Considerations Avoid using line charts in columns as the narrow display makes content difficult to read as well as difficult to manage in the Page Editor.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/\" \/>\n<meta property=\"og:site_name\" content=\"Web User Guide\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-23T17:05:19+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/\",\"url\":\"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/\",\"name\":\"Chart - line - Web User Guide\",\"isPartOf\":{\"@id\":\"https:\/\/digitaldocumentation.wustl.edu\/momentum\/#website\"},\"datePublished\":\"2024-09-23T16:52:08+00:00\",\"dateModified\":\"2024-09-23T17:05:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/digitaldocumentation.wustl.edu\/momentum\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blocks\",\"item\":\"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Infographics\",\"item\":\"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Chart &#8211; line\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/digitaldocumentation.wustl.edu\/momentum\/#website\",\"url\":\"https:\/\/digitaldocumentation.wustl.edu\/momentum\/\",\"name\":\"Web User Guide\",\"description\":\"Just another digitaldocumentation.wustl.edu Sites site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/digitaldocumentation.wustl.edu\/momentum\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Chart - line - Web User Guide","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/","og_locale":"en_US","og_type":"article","og_title":"Chart - line - Web User Guide","og_description":"The line chart is best used for comparing sets of data over intervals. Components of a line chart There are five components: How to use a line chart Considerations Avoid using line charts in columns as the narrow display makes content difficult to read as well as difficult to manage in the Page Editor.","og_url":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/","og_site_name":"Web User Guide","article_modified_time":"2024-09-23T17:05:19+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/","url":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/","name":"Chart - line - Web User Guide","isPartOf":{"@id":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/#website"},"datePublished":"2024-09-23T16:52:08+00:00","dateModified":"2024-09-23T17:05:19+00:00","breadcrumb":{"@id":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/chart-line\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/"},{"@type":"ListItem","position":2,"name":"Blocks","item":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/"},{"@type":"ListItem","position":3,"name":"Infographics","item":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/blocks\/infographics\/"},{"@type":"ListItem","position":4,"name":"Chart &#8211; line"}]},{"@type":"WebSite","@id":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/#website","url":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/","name":"Web User Guide","description":"Just another digitaldocumentation.wustl.edu Sites site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Web User Guide","distributor_original_site_url":"https:\/\/digitaldocumentation.wustl.edu\/momentum","push-errors":false,"_links":{"self":[{"href":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/wp-json\/wp\/v2\/pages\/2191"}],"collection":[{"href":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/wp-json\/wp\/v2\/comments?post=2191"}],"version-history":[{"count":1,"href":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/wp-json\/wp\/v2\/pages\/2191\/revisions"}],"predecessor-version":[{"id":2277,"href":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/wp-json\/wp\/v2\/pages\/2191\/revisions\/2277"}],"up":[{"embeddable":true,"href":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/wp-json\/wp\/v2\/pages\/2190"}],"wp:attachment":[{"href":"https:\/\/digitaldocumentation.wustl.edu\/momentum\/wp-json\/wp\/v2\/media?parent=2191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}