Skip to content

Commit 859f0e1

Browse files
committed
docs: update theme
1 parent c62b4c3 commit 859f0e1

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

packages/docs/.vuepress/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { defineClientConfig } from '@vuepress/client'
22
import { CIcon } from '@coreui/icons-vue'
3-
import CChartPlugin from '@coreui/vue-chartjs/src/'
3+
import CChartPlugin from '@coreui/vue-chartjs'
44
import CoreuiVue from '@coreui/vue/src/'
55
import '@coreui/coreui/scss/coreui.scss'
66
import '@coreui/chartjs/scss/coreui-chartjs.scss'

packages/docs/components/chart.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -27,30 +27,30 @@ A line chart is a way of plotting data points on a line. Often, it is used to sh
2727
[Line Chart properties](https://www.chartjs.org/docs/latest/charts/line.html#dataset-properties)
2828

2929
::: demo
30-
<CChartLine
31-
:wrapper="false"
32-
:data="{
33-
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
34-
datasets: [
35-
{
36-
label: 'My First dataset',
37-
backgroundColor: 'rgba(220, 220, 220, 0.2)',
38-
borderColor: 'rgba(220, 220, 220, 1)',
39-
pointBackgroundColor: 'rgba(220, 220, 220, 1)',
40-
pointBorderColor: '#fff',
41-
data: [40, 20, 12, 39, 10, 40, 39]
42-
},
43-
{
44-
label: 'My Second dataset',
45-
backgroundColor: 'rgba(151, 187, 205, 0.2)',
46-
borderColor: 'rgba(151, 187, 205, 1)',
47-
pointBackgroundColor: 'rgba(151, 187, 205, 1)',
48-
pointBorderColor: '#fff',
49-
data: [50, 12, 28, 29, 7, 25, 12]
50-
}
51-
]
52-
}"
53-
/>
30+
<CChartLine
31+
:wrapper="false"
32+
:data="{
33+
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
34+
datasets: [
35+
{
36+
label: 'My First dataset',
37+
backgroundColor: 'rgba(220, 220, 220, 0.2)',
38+
borderColor: 'rgba(220, 220, 220, 1)',
39+
pointBackgroundColor: 'rgba(220, 220, 220, 1)',
40+
pointBorderColor: '#fff',
41+
data: [40, 20, 12, 39, 10, 40, 39]
42+
},
43+
{
44+
label: 'My Second dataset',
45+
backgroundColor: 'rgba(151, 187, 205, 0.2)',
46+
borderColor: 'rgba(151, 187, 205, 1)',
47+
pointBackgroundColor: 'rgba(151, 187, 205, 1)',
48+
pointBorderColor: '#fff',
49+
data: [50, 12, 28, 29, 7, 25, 12]
50+
}
51+
]
52+
}"
53+
/>
5454
:::
5555
```vue
5656
<!-- use <CChart type="line"> or <CChartLine> component -->

packages/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"license": "MIT",
1010
"devDependencies": {
11-
"@coreui/chartjs": "^3.1.1",
11+
"@coreui/chartjs": "^3.1.2",
1212
"@coreui/coreui": "^4.3.0-beta.0",
1313
"@coreui/icons": "^3.0.1",
1414
"@coreui/icons-vue": "^2.0.0",

0 commit comments

Comments
 (0)