Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You could use a <a href="https://developers.google.com/chart/interactive/docs/gallery/combochart" rel="nofollow noreferrer">combo chart</a>. These are A charts that lets you render each series as a different marker type from the following list: line, area, bars, candlesticks and stepped area.</p> <p>To assign a default marker type for series, specify the seriesType property. Use the series property to specify properties of each series individually.</p> <p>There is an <a href="http://code.google.com/apis/ajax/playground/?type=visualization#combo_chart" rel="nofollow noreferrer">example</a> in the link that you could edit. You used to be able to do a <a href="https://developers.google.com/chart/image/docs/gallery/compound_charts" rel="nofollow noreferrer">compound chart</a> but these are sadly deprecated now.</p> <p>example of area and line:</p> <pre><code> &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;meta http-equiv="content-type" content="text/html; charset=utf-8"/&gt; &lt;title&gt; Google Visualization API Sample &lt;/title&gt; &lt;script type="text/javascript" src="http://www.google.com/jsapi"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; google.load('visualization', '1', {packages: ['corechart']}); &lt;/script&gt; &lt;script type="text/javascript"&gt; function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ ['Year', 'Sales', 'Expenses', 'Total'], ['2004', 1000, 400, 600 ], ['2005', 1100, 200, 900 ], ['2006', 6000, 5000, 1000], ['2007', 1000, 500, 500 ], ]); // Create and draw the visualization. var ac = new google.visualization.ComboChart(document.getElementById('visualization')); ac.draw(data, { title : 'Sales &amp; Expenses by Year', width: 600, height: 400, vAxis: {title: "Sales"}, hAxis: {title: "Year"}, seriesType: "area", series: {5: {type: "line"}} }); } google.setOnLoadCallback(drawVisualization); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-family: Arial;border: 0 none;"&gt; &lt;div id="visualization" style="width: 600px; height: 400px;"&gt;&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>prints</p> <p><img src="https://i.stack.imgur.com/AaPhz.png" alt="Sales and Expenses"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload