A Line chart dashboard

View the bare-bones, stripped-down version of this demo

This is a darker dashboard that shows multiple Line charts and also a Pie (which uses the donut option). Lots of code and CSS for this demo as it goes far beyond the normal single chart demos. It does show what you can achieve when you build several objects into one page though.

The stacked Lines are accompanied by a Pie chart, as already mentioned, using the donut option. There's a segment that also shows just some regular text.

You can combine any number of charts like this to create your own tailored dashboard that shows you whatever information you want to see. It's effectively just a webpage with many charts on it.

Searches over time by query type
Search capacity by query type
260
Capacity usage by query
Capacity usage by query
search capacity by user
This goes in the documents header:
<script src="RGraph.svg.common.core.js"></script>
<script src="RGraph.svg.common.key.js"></script>
<script src="RGraph.svg.pie.js"></script>
<script src="RGraph.svg.line.js"></script>
Put this where you want the chart to show up:
<style>
    div#cc1,
    div#cc2 {
        width: 295px;
        height: 200px;
        background-color: black;
        float:left;
    }
    div#cc3 {
        width: 190px;
        height: 200px;
        background-color: black;
        float:left;
        position: relative;
    }

    div#cc3 span:nth-child(2) {
        display: inline-block;
        position: relative;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        font-size: 40pt;
        color: #02BDD0;
    }
    
    div#cc4 {
        width: 195px;
        height: 200px;
        background-color: black;
        float:left;
    }
    
    div#cc5,
    div#cc6 {
        width: 490px;
        height: 200px;
        background-color: black;
        float:left;
    }
    
    div#cc1,
    div#cc2,
    div#cc3,
    div#cc4,
    div#cc5,
    div#cc6 {
        float: left;
    }
    
    div span:nth-child(1) {
        color: #ccc;
        font-size: 10pt;
        position: absolute;
        top: 0;
        left: 5px;
    }
</style>

<div style="position: relative; left: -10px; width: calc(100% + 20px); background-color: #181818">
    <div id="cc1">
        <span>Searches over time by query type</span>
    </div>
    <div id="cc2">
    <span>Search capacity by query type</span>
    </div>
    <div id="cc3">
        <span>Searches</span>
        <span>260</span>
    </div>
    <div id="cc4">
        <span>Capacity usage by query</span>
    </div>
    <div id="cc5">
        <span>Capacity usage by query</span>
    </div>
    <div id="cc6">
        <span>search capacity by user</span>
    </div>
    
    <div style="clear: both"></div>
</div>
This is the code that generates the chart - it should be placed AFTER the <div> tag: