diff options
Diffstat (limited to '')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.html b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.html new file mode 100644 index 000000000..c823605d1 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.html @@ -0,0 +1,15 @@ +<div class="chart-container" + [ngStyle]="style"> + <canvas baseChart + #sparkCanvas + [labels]="labels" + [datasets]="datasets" + [options]="options" + [colors]="colors" + [chartType]="'line'"> + </canvas> + <div class="chartjs-tooltip" + #sparkTooltip> + <table></table> + </div> +</div> |