Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

high chart added #65

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# folders
node_modules
dist
docs/Gemfile.lock
docs/assets/scripts
_site
coverage
test/backstop_data
Expand Down
20 changes: 11 additions & 9 deletions docs/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ GEM
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.6)
concurrent-ruby (1.1.5)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.12.2)
ffi (1.11.1)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (0.9.5)
Expand Down Expand Up @@ -37,21 +37,23 @@ GEM
listen (~> 3.0)
kramdown (1.17.0)
liquid (4.0.3)
listen (3.2.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
mercenary (0.3.6)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.3)
public_suffix (4.0.1)
rb-fsevent (0.10.3)
rb-inotify (0.10.1)
rb-inotify (0.10.0)
ffi (~> 1.0)
rouge (3.17.0)
rouge (3.11.0)
ruby_dep (1.5.0)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
Expand All @@ -69,4 +71,4 @@ DEPENDENCIES
tzinfo-data

BUNDLED WITH
2.1.4
1.17.3
4 changes: 2 additions & 2 deletions docs/_includes/cpu/maas_cpu-average-usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS CPU Average Usage</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="usage_average" data-height="200" data-width="400" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="usage_average" data-height="500" data-width="600" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -52,7 +52,7 @@ <h3>MAAS CPU Average Usage</h3>
"time": "2018-11-27T10:58:21Z"
}];

document.write('<hedwig-graph data-type="MAAS_cpu" data-field="usage_average" data-height="200" data-width="400" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_cpu" data-field="usage_average" data-height="500" data-width="600" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/cpu/maas_cpu-count.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS CPU Count</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="cpu_count" data-height="200" data-unit="count" data-width="400" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="cpu_count" data-height="500" data-unit="count" data-width="600" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -53,7 +53,7 @@ <h3>MAAS CPU Count</h3>
"time": "2018-11-27T10:58:21Z"
}];

document.write('<hedwig-graph data-type="MAAS_cpu" data-field="cpu_count" data-height="200" data-unit="count" data-width="400" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_cpu" data-field="cpu_count" data-height="500" data-unit="count" data-width="600" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/cpu/maas_cpu-idle-percent.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS CPU Idle Percent</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="idle_percent_average" data-height="200" data-width="400" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="idle_percent_average" data-height="500" data-width="600" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -52,7 +52,7 @@ <h3>MAAS CPU Idle Percent</h3>
"time": "2018-11-27T10:58:21Z"
}];

document.write('<hedwig-graph data-type="MAAS_cpu" data-field="idle_percent_average" data-height="200" data-width="400" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_cpu" data-field="idle_percent_average" data-height="500" data-width="600" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/cpu/maas_cpu-irq-average.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS CPU IRQ Average</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="irq_percent_average" data-height="200" data-width="400" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="irq_percent_average" data-height="500" data-width="600" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -54,7 +54,7 @@ <h3>MAAS CPU IRQ Average</h3>
}
];

document.write('<hedwig-graph data-type="MAAS_cpu" data-field="irq_percent_average" data-height="200" data-width="400" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_cpu" data-field="irq_percent_average" data-height="500" data-width="600" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/cpu/maas_cpu-max-usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS CPU Max Usage</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="max_cpu_usage" data-height="200" data-width="400" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="max_cpu_usage" data-height="500" data-width="600" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -54,7 +54,7 @@ <h3>MAAS CPU Max Usage</h3>
}
];

document.write('<hedwig-graph data-type="MAAS_cpu" data-field="max_cpu_usage" data-height="200" data-width="400" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_cpu" data-field="max_cpu_usage" data-height="500" data-width="600" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/cpu/maas_cpu-min-usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS CPU Min Usage</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="min_cpu_usage" data-height="200" data-width="400" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="min_cpu_usage" data-height="500" data-width="600" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -53,7 +53,7 @@ <h3>MAAS CPU Min Usage</h3>
"time": "2018-11-27T10:58:21Z"
}];

document.write('<hedwig-graph data-type="MAAS_cpu" data-field="min_cpu_usage" data-height="200" data-width="400" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_cpu" data-field="min_cpu_usage" data-height="500" data-width="600" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/cpu/maas_cpu-stolen-percent.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS CPU Stolen Percent</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="stolen_percent_average" data-height="200" data-width="400" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="stolen_percent_average" data-height="500" data-width="600" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -53,7 +53,7 @@ <h3>MAAS CPU Stolen Percent</h3>
"time": "2018-11-27T10:58:21Z"
}];

document.write('<hedwig-graph data-type="MAAS_cpu" data-field="stolen_percent_average" data-height="200" data-width="400" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_cpu" data-field="stolen_percent_average" data-height="500" data-width="600" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/cpu/maas_cpu-system-usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS CPU System Usage</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="sys_percent_average" data-height="200" data-width="400" data={{ someBoundData }} &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="sys_percent_average" data-height="500" data-width="600" data={{ someBoundData }} &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -53,7 +53,7 @@ <h3>MAAS CPU System Usage</h3>
}
];

document.write('<hedwig-graph data-type="MAAS_cpu" data-field="sys_percent_average" data-height=200 data-width=400 data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_cpu" data-field="sys_percent_average" data-height="500" data-width="600" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/cpu/maas_cpu-user-usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS CPU User Usage</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="user_percent_average" data-height="200" data-width="400" data={{ someBoundData }} &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="user_percent_average" data-height="500" data-width="600" data={{ someBoundData }} &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -52,7 +52,7 @@ <h3>MAAS CPU User Usage</h3>
"time": "2018-11-27T10:58:21Z"
}];

document.write('<hedwig-graph data-type="MAAS_cpu" data-field="user_percent_average" data-height="200" data-width="400" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_cpu" data-field="user_percent_average" data-height="500" data-width="600" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/cpu/maas_cpu-wait-average.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS CPU Wait Average</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="wait_percent_average" data-height="200" data-width="400" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_cpu" data-field="wait_percent_average" data-height="500" data-width="600" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -53,7 +53,7 @@ <h3>MAAS CPU Wait Average</h3>
"time": "2018-11-27T10:58:21Z"
}];

document.write('<hedwig-graph data-type="MAAS_cpu" data-field="wait_percent_average" data-height="200" data-width="400" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_cpu" data-field="wait_percent_average" data-height="500" data-width="600" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/filesystem/maas_filesystem-avail.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS Filesystem Available</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_filesystem" data-field="avail" data-height="200" data-width="400" data-unit="kb" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_filesystem" data-field="avail" data-height="500" data-width="600" data-unit="kb" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -54,7 +54,7 @@ <h3>MAAS Filesystem Available</h3>
}
];

document.write('<hedwig-graph data-type="MAAS_filesystem" data-field="avail" data-height="200" data-width="400" data-unit="kb" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_filesystem" data-field="avail" data-height="500" data-width="600" data-unit="kb" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/filesystem/maas_filesystem-files.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS Filesystem Files</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_filesystem" data-field="files" data-height="200" data-width="400" data-unit="kb" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_filesystem" data-field="files" data-height="500" data-width="600" data-unit="kb" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -52,7 +52,7 @@ <h3>MAAS Filesystem Files</h3>
"time": "2018-11-27T10:58:21Z"
}];

document.write('<hedwig-graph data-type="MAAS_filesystem" data-field="files" data-height="200" data-width="400" data-unit="kb" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_filesystem" data-field="files" data-height="500" data-width="600" data-unit="kb" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/filesystem/maas_filesystem-free-files.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS Filesystem Free Files</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_filesystem" data-field="free_files" data-height="200" data-width="400" data-unit="count" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_filesystem" data-field="free_files" data-height="500" data-width="600" data-unit="count" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -54,7 +54,7 @@ <h3>MAAS Filesystem Free Files</h3>
}
];

document.write('<hedwig-graph data-type="MAAS_filesystem" data-field="free_files" data-height="200" data-width="400" data-unit="count" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_filesystem" data-field="free_files" data-height="500" data-width="600" data-unit="count" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/filesystem/maas_filesystem-free.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS Filesystem Free</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_filesystem" data-field="free" data-height="200" data-width="400" data-unit="kb" data=data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_filesystem" data-field="free" data-height="500" data-width="600" data-unit="kb" data=data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -53,7 +53,7 @@ <h3>MAAS Filesystem Free</h3>
"time": "2018-11-27T10:58:21Z"
}];

document.write('<hedwig-graph data-type="MAAS_filesystem" data-field="free" data-height="200" data-width="400" data-unit="kb" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_filesystem" data-field="free" data-height="500" data-width="600" data-unit="kb" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/filesystem/maas_filesystem-total.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS Filesystem Total</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_filesystem" data-field="total" data-height="200" data-width="400" data-unit="kb" data=data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_filesystem" data-field="total" data-height="500" data-width="600" data-unit="kb" data=data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -54,7 +54,7 @@ <h3>MAAS Filesystem Total</h3>
}
];

document.write('<hedwig-graph data-type="MAAS_filesystem" data-field="total" data-height="200" data-width="400" data-unit="kb" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_filesystem" data-field="total" data-height="500" data-width="600" data-unit="kb" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/filesystem/maas_filesystem-used.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3>MAAS Filesystem Used</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_filesystem" data-field="used" data-height="200" data-width="400" data-unit="kb" data=data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_filesystem" data-field="used" data-height="500" data-width="600" data-unit="kb" data=data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -54,7 +54,7 @@ <h3>MAAS Filesystem Used</h3>
}
];

document.write('<hedwig-graph data-type="MAAS_filesystem" data-field="used" data-height="200" data-width="400" data-unit="kb" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_filesystem" data-field="used" data-height="500" data-width="600" data-unit="kb" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/http/maas_http-bytes.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h3>MAAS Http Bytes</h3>
<br>
<p>
Tag: <br>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_http" data-field="bytes" data-height="200" data-width="400" data-unit="b" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
<pre><code class='html'>&lt;hedwig-graph data-type="MAAS_http" data-field="bytes" data-height="500" data-width="600" data-unit="b" data="[ someBoundData ]" &gt;&lt;/hedwig-graph&gt;</code></pre>
</p>
<br>
<p>Sample data structure</p>
Expand Down Expand Up @@ -55,7 +55,7 @@ <h3>MAAS Http Bytes</h3>
"time": "2018-11-27T10:58:21Z"
}];

document.write('<hedwig-graph data-type="MAAS_http" data-field="bytes" data-height="200" data-width="400" data-unit="kb" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
document.write('<hedwig-graph data-type="MAAS_http" data-field="bytes" data-height="500" data-width="600" data-unit="kb" data-graph=' + JSON.stringify(mock) + '></hedwig-graph>');
</script>

<p>Options</p>
Expand Down
Loading