mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-17 23:15:28 +01:00
refactor(charts): change chart.js lib wrapper
This commit is contained in:
parent
df7de82737
commit
bdca59b793
13 changed files with 206 additions and 314 deletions
|
|
@ -43,7 +43,7 @@ export const COSMIC_THEME = {
|
|||
tooltipExtraCss: 'box-shadow: 0px 2px 46px 0 rgba(0, 255, 170, 0.35); border-radius: 10px; padding: 8px 24px;',
|
||||
tooltipTextColor: '#ffffff',
|
||||
|
||||
xAxisColor: 'rgba(161, 161 ,229, 0.3)',
|
||||
axisLineColor: 'rgba(161, 161 ,229, 0.3)',
|
||||
xAxisTextColor: '#a1a1e5',
|
||||
yAxisSplitLine: 'rgba(161, 161 ,229, 0.2)',
|
||||
|
||||
|
|
@ -78,21 +78,8 @@ export const COSMIC_THEME = {
|
|||
},
|
||||
|
||||
chartjs: {
|
||||
xAxisColor: 'rgba(148,159,177,1)',
|
||||
yAxisColor: 'rgba(148,159,177,1)',
|
||||
tickColor: 'white',
|
||||
legendTextColor: 'white',
|
||||
|
||||
barHorizontal: {
|
||||
colors: ['red', 'blue'],
|
||||
},
|
||||
|
||||
radar: {
|
||||
colors: ['red', 'blue'],
|
||||
scaleGridLinesColor: 'white',
|
||||
scaleAngleLinesColor: 'white',
|
||||
pointLabelFontColor: 'white',
|
||||
},
|
||||
axisLineColor: '#a1a1e5',
|
||||
textColor: '#ffffff',
|
||||
},
|
||||
|
||||
d3: {
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ export const DEFAULT_THEME = {
|
|||
tooltipExtraCss: 'border-radius: 10px; padding: 8px 24px;',
|
||||
tooltipTextColor: '#222222',
|
||||
|
||||
xAxisColor: 'rgba(0, 0, 0, 0)',
|
||||
axisLineColor: 'rgba(0, 0, 0, 0)',
|
||||
xAxisTextColor: '#222222',
|
||||
yAxisSplitLine: '#ebeef2',
|
||||
|
||||
|
|
@ -72,21 +72,8 @@ export const DEFAULT_THEME = {
|
|||
},
|
||||
|
||||
chartjs: {
|
||||
xAxisColor: 'rgba(148,159,177,1)',
|
||||
yAxisColor: 'rgba(148,159,177,1)',
|
||||
tickColor: 'white',
|
||||
legendTextColor: 'white',
|
||||
|
||||
barHorizontal: {
|
||||
colors: ['red', 'blue'],
|
||||
},
|
||||
|
||||
radar: {
|
||||
colors: ['red', 'blue'],
|
||||
scaleGridLinesColor: 'white',
|
||||
scaleAngleLinesColor: 'white',
|
||||
pointLabelFontColor: 'white',
|
||||
},
|
||||
axisLineColor: '#cccccc',
|
||||
textColor: '#484848',
|
||||
},
|
||||
|
||||
d3: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue