mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-11 19:04:20 +01:00
refactor(charts): register custom js-themes for charts
This commit is contained in:
parent
be69ccc058
commit
33da370ab5
5 changed files with 464 additions and 399 deletions
|
|
@ -6,7 +6,12 @@
|
|||
<div class="slider-container">
|
||||
<ngx-temperature-dragger [(value)]="temperature" (power)="temperatureOff = !$event"
|
||||
[min]="12" [max]="30" [disableArcColor]="themeConfig.layoutBg"
|
||||
[fillColors]="['#2ec7fe', '#31ffad', '#7bff24', '#fff024', '#f7bd59']">
|
||||
[fillColors]="[
|
||||
themeConfig.tempColorBlue,
|
||||
themeConfig.tempColorLightBlue,
|
||||
themeConfig.tempColorGreen,
|
||||
themeConfig.tempColorYellow,
|
||||
themeConfig.tempColorOrange]">
|
||||
|
||||
<div class="slider-value-container" [ngClass]="{ 'off': temperatureOff }">
|
||||
<div class="value temperature">
|
||||
|
|
@ -41,7 +46,12 @@
|
|||
<div class="slider-container">
|
||||
<ngx-temperature-dragger [(value)]="humidity" (power)="humidityOff = !$event"
|
||||
[min]="0" [max]="100" [disableArcColor]="themeConfig.layoutBg"
|
||||
[fillColors]="['#fff024', '#7bff24', '#31ffad', '#2ec7fe']">
|
||||
[fillColors]="[
|
||||
themeConfig.tempColorBlue,
|
||||
themeConfig.tempColorLightBlue,
|
||||
themeConfig.tempColorGreen,
|
||||
themeConfig.tempColorYellow,
|
||||
themeConfig.tempColorOrange]">
|
||||
|
||||
<div class="slider-value-container" [ngClass]="{ 'off': humidityOff }">
|
||||
<div class="value humidity">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue