chore: update import paths and snapshots

This commit is contained in:
woothu
2019-12-11 16:10:31 +01:00
parent 20a24e934d
commit 860d8d5256
15 changed files with 28 additions and 22 deletions
+4 -10
View File
@@ -7,8 +7,9 @@
</template>
<script>
import { CChartLine } from '@coreui/coreui-vue-chartjs'
import { getColor, deepObjectsMerge } from '@coreui/coreui/dist/js/coreui-utilities'
import { CChartLine } from '@coreui/vue-chartjs'
import { getColor, deepObjectsMerge } from '@coreui/utils/src'
export default {
name: 'CChartLineSimple',
components: { CChartLine },
@@ -48,19 +49,12 @@ export default {
data: this.dataPoints,
borderColor: getColor(this.borderColor),
backgroundColor: getColor(this.backgroundColor),
pointBackgroundColor: this.pointBackgroundColor,
pointBackgroundColor: getColor(this.pointHoverColor),
pointHoverBackgroundColor: getColor(this.pointHoverColor),
label: this.label
}
]
},
pointBackgroundColor () {
if (this.backgroundColor === 'transparent') {
return '#fff'
} else {
return getColor(this.backgroundColor)
}
},
pointedOptions () {
return {
scales: {