refactor(charts): change chart.js lib wrapper

This commit is contained in:
KostyaDanovsky 2017-08-29 10:54:30 +03:00
parent df7de82737
commit bdca59b793
13 changed files with 206 additions and 314 deletions

View file

@ -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: {