mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-23 10:50:13 +01:00
fix(demo): refactor js theme using
This commit is contained in:
parent
672615b710
commit
b772882cd6
28 changed files with 561 additions and 492 deletions
|
|
@ -16,14 +16,16 @@ export class EchartsBarAnimationComponent {
|
|||
const data1 = [];
|
||||
const data2 = [];
|
||||
|
||||
const echarts: any = config.variables.echarts;
|
||||
|
||||
this.options = {
|
||||
backgroundColor: config.echartsBackgroundColor,
|
||||
color: [config.echartsBarAnimationColor1, config.echartsBarAnimationColor2],
|
||||
backgroundColor: echarts.bg,
|
||||
color: [echarts.barAnimation.colors],
|
||||
legend: {
|
||||
data: ['bar', 'bar2'],
|
||||
align: 'left',
|
||||
textStyle: {
|
||||
color: config.echartsBarAnimationLegendTextColor,
|
||||
color: echarts.legendTextColor,
|
||||
},
|
||||
},
|
||||
xAxis: {
|
||||
|
|
@ -34,14 +36,14 @@ export class EchartsBarAnimationComponent {
|
|||
},
|
||||
axisLine: {
|
||||
lineStyle: {
|
||||
color: config.echartsBarAnimationXAxisLineColor,
|
||||
color: echarts.xAxisLineColor,
|
||||
},
|
||||
},
|
||||
},
|
||||
yAxis: {
|
||||
axisLine: {
|
||||
lineStyle: {
|
||||
color: config.echartsBarAnimationYAxisLineColor,
|
||||
color: echarts.yAxisLineColor,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue