You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/charts/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ next: ./bar
9
9
10
10
## Chart Types
11
11
12
-
Before using charts, check the development status. If a chart type is already released, you can use it with the **usage class**.
12
+
Before using charts, check the **development status** in the table below. If a chart type has already been released, you can use it with the **usage class**.
Copy file name to clipboardExpand all lines: src/charts/area.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ To visualize your data with an area chart, the main `.charts-css` class should b
18
18
19
19
## Data
20
20
21
-
When you add data, you need to supply not only the data `--size` variable but also the `--start` variable that indicates the starting point.
21
+
When adding data, supply not only the data `--size` variable, but also the `--start` variable that indicates the starting point.
22
22
23
23
```html
24
24
<tableclass="charts-css area"id="my-chart">
@@ -81,7 +81,7 @@ When you add data, you need to supply not only the data `--size` variable but al
81
81
82
82
## Dimensions
83
83
84
-
To control the chart dimensions you can use regular CSS. You can use media queries to set different dimensions for smaller devices.
84
+
To control the chart dimensions use regular CSS. Use media queries to set different dimensions for smaller devices.
85
85
86
86
```css
87
87
#my-chart.area {
@@ -134,7 +134,7 @@ To control the chart dimensions you can use regular CSS. You can use media queri
134
134
135
135
## Orientation
136
136
137
-
You can control the [chart orientation](../components/orientation/), or direction. The initial orientation is top-to-bottom (on LRT and RTL languages) and right-to-left (on TTM languages). Using the `.reverse` class you can reverse the orientation.
137
+
Control the [chart orientation](../components/orientation/), or direction. The initial orientation is top-to-bottom (on LRT and RTL languages) and right-to-left (on TTM languages). Use the `.reverse` class to reverse the orientation.
138
138
139
139
```html
140
140
<tableclass="charts-css area reverse">
@@ -179,7 +179,7 @@ You can control the [chart orientation](../components/orientation/), or directio
179
179
180
180
## Heading
181
181
182
-
You can add a [heading](../components/heading/) to your chart using the `<caption>` tag. By default the heading is hidden. To display the heading use the `.show-heading` class.
182
+
Add a [heading](../components/heading/) to your chart using the `<caption>` tag. By default, the heading is hidden. To display the heading use the `.show-heading` class.
183
183
184
184
```html
185
185
<tableclass="charts-css area show-heading">
@@ -225,7 +225,7 @@ You can add a [heading](../components/heading/) to your chart using the `<captio
225
225
226
226
## Multiple Datasets
227
227
228
-
You can use a [single dataset](../components/data/) (one `<td>` tag in each `<tr>`).
228
+
Use a [single dataset](../components/data/) (one `<td>` tag in each `<tr>`).
229
229
230
230
```html{2}
231
231
<tr>
@@ -288,7 +288,7 @@ But when using multiple datasets you should add the `.multiple` class.
288
288
289
289
## Labels
290
290
291
-
You can add [labels](../components/labels/) to your data and control the labels positions and size. Labels added using `<th>` tag inside the `<tr>`
291
+
Add [labels](../components/labels/) to your data and control the labels' positions and size. Labels added using `<th>` tag inside the `<tr>`
292
292
293
293
```html{2}
294
294
<tr>
@@ -299,7 +299,7 @@ You can add [labels](../components/labels/) to your data and control the labels
299
299
</tr>
300
300
```
301
301
302
-
By default the labels are hidden. To display the labels use the `.show-labels` class.
302
+
By default, labels are hidden. To display labels use the `.show-labels` class.
303
303
304
304
```html
305
305
<tableclass="charts-css area show-labels">
@@ -405,7 +405,7 @@ By default the labels are hidden. To display the labels use the `.show-labels` c
405
405
406
406
</v-row>
407
407
408
-
Some charts use long labels others use short ones. To customize the label size use the `--labels-size` variable.
408
+
Some charts use long labels, others use short ones. To customize the label size use the `--labels-size` variable.
409
409
410
410
```css
411
411
#my-chart.area {
@@ -515,11 +515,11 @@ Some charts use long labels others use short ones. To customize the label size u
515
515
516
516
## Axes
517
517
518
-
You can control the [axes](../components/axes/) that will be displayed on the chart.
518
+
Control the [axes](../components/axes/) displayed on the chart.
519
519
520
520
### Primary Axis
521
521
522
-
To add a primary axis to separate the labels from the chart itself use the `.show-primary-axis` class.
522
+
To add a primary axis, separating the labels from the data, use the `.show-primary-axis` class.
523
523
524
524
```html
525
525
<tableclass="charts-css area show-primary-axis">
@@ -627,7 +627,7 @@ To add a primary axis to separate the labels from the chart itself use the `.sho
627
627
628
628
### Secondary Axes
629
629
630
-
To add secondary axes, located inside the chart itself, use the `.show-*-secondary-axes` class.
630
+
To add secondary axes, located behind the chart data, use the `.show-*-secondary-axes` class. Use the `.show-*-secondary-axes` class. Replace the `*` in the class name, with any number `1`-`10`. For example, to display four axes use the `.show-4-secondary-axes` class.
631
631
632
632
```html
633
633
<tableclass="charts-css area show-4-secondary-axes">
@@ -735,7 +735,7 @@ To add secondary axes, located inside the chart itself, use the `.show-*-seconda
735
735
736
736
### Data Axes
737
737
738
-
To add data axes which are auto-generated based on the amount of rows (`<tr>` tags) you have. Use the `.show-data-axes` class to add them.
738
+
Data axes are auto-generated based on the amount of columns (`<tr>` tags) in the chart. Add data axes using the `.show-data-axes` class.
739
739
740
740
```html
741
741
<tableclass="charts-css area show-data-axes">
@@ -847,7 +847,7 @@ You can [reverse the order of the elements](../components/reverse-order/) withou
847
847
848
848
### Reverse Data Order
849
849
850
-
To reverse thr data order use the `.reverse-data` class.
850
+
To reverse the data order use the `.reverse-data` class.
Copy file name to clipboardExpand all lines: src/charts/bar.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Bar charts display raw data as horizontal bars.
9
9
10
10
## Usage
11
11
12
-
To visualize your data with bar chart, the main `.charts-css` class should be followed by the `.bar` class.
12
+
To visualize your data with a bar chart, the main `.charts-css` class should be followed by the `.bar` class.
13
13
14
14
```html
15
15
<tableclass="charts-css bar">
@@ -19,7 +19,7 @@ To visualize your data with bar chart, the main `.charts-css` class should be fo
19
19
20
20
## Dimensions
21
21
22
-
To control the chart dimensions you can use regular CSS. You can use media queries to set different dimensions for smaller devices.
22
+
To control the chart dimensions use regular CSS. Use media queries to set different dimensions for smaller devices.
23
23
24
24
```css
25
25
#my-chart.bar {
@@ -72,7 +72,7 @@ To control the chart dimensions you can use regular CSS. You can use media queri
72
72
73
73
## Orientation
74
74
75
-
You can control the [chart orientation](../components/orientation/), or direction. The initial orientation depends on your language writing direction. Using the `.reverse` class you can reverse the orientation.
75
+
Control the [chart orientation](../components/orientation/), or direction. The initial orientation is top-to-bottom (on LRT and RTL languages) and right-to-left (on TTM languages). Use the `.reverse` class to reverse the orientation.
76
76
77
77
```html
78
78
<tableclass="charts-css bar reverse">
@@ -117,7 +117,7 @@ You can control the [chart orientation](../components/orientation/), or directio
117
117
118
118
## Heading
119
119
120
-
You can add a [heading](../components/heading/) to your chart using the `<caption>` tag. By default the heading is hidden. To display the heading use the `.show-heading` class.
120
+
Add a [heading](../components/heading/) to your chart using the `<caption>` tag. By default, the heading is hidden. To display the heading use the `.show-heading` class.
121
121
122
122
```html
123
123
<tableclass="charts-css bar show-heading">
@@ -163,7 +163,7 @@ You can add a [heading](../components/heading/) to your chart using the `<captio
163
163
164
164
## Multiple Datasets
165
165
166
-
You can use a [single dataset](../components/data/) (one `<td>` tag in each `<tr>`).
166
+
Use a [single dataset](../components/data/) (one `<td>` tag in each `<tr>`).
167
167
168
168
```html{2}
169
169
<tr>
@@ -264,7 +264,7 @@ But when using multiple datasets you should add the `.multiple` class.
264
264
265
265
## Labels
266
266
267
-
You can add [labels](../components/labels/) to your data and control the labels positions and size. Labels added using `<th>` tag inside the `<tr>`
267
+
Add [labels](../components/labels/) to your data and control the labels' positions and size. Labels added using `<th>` tag inside the `<tr>`.
268
268
269
269
```html{2}
270
270
<tr>
@@ -275,7 +275,7 @@ You can add [labels](../components/labels/) to your data and control the labels
275
275
</tr>
276
276
```
277
277
278
-
By default the labels are hidden. To display the labels use the `.show-labels` class.
278
+
By default, labels are hidden. To display labels use the `.show-labels` class.
279
279
280
280
```html
281
281
<tableclass="charts-css bar show-labels">
@@ -381,7 +381,7 @@ By default the labels are hidden. To display the labels use the `.show-labels` c
381
381
382
382
</v-row>
383
383
384
-
Some charts use long labels others use short ones. To customize the label size use the `--labels-size` variable.
384
+
Some charts use long labels, others use short ones. To customize the label size use the `--labels-size` variable.
385
385
386
386
```css
387
387
#my-chart.bar {
@@ -491,11 +491,11 @@ Some charts use long labels others use short ones. To customize the label size u
491
491
492
492
## Axes
493
493
494
-
You can control the [axes](../components/axes/) that will be displayed on the chart.
494
+
Control the [axes](../components/axes/) displayed on the chart.
495
495
496
496
### Primary Axis
497
497
498
-
To add a primary axis to separate the labels from the chart itself use the `.show-primary-axis` class.
498
+
To add a primary axis, separating the labels from the data, use the `.show-primary-axis` class.
499
499
500
500
```html
501
501
<tableclass="charts-css bar show-primary-axis">
@@ -603,7 +603,7 @@ To add a primary axis to separate the labels from the chart itself use the `.sho
603
603
604
604
### Secondary Axes
605
605
606
-
To add secondary axes, located inside the chart itself, use the `.show-*-secondary-axes` class.
606
+
To add secondary axes, located behind the chart data, use the `.show-*-secondary-axes` class. Use the `.show-*-secondary-axes` class. Replace the `*` in the class name, with any number `1`-`10`. For example, to display four axes use the `.show-4-secondary-axes` class.
607
607
608
608
```html
609
609
<tableclass="charts-css bar show-4-secondary-axes">
@@ -711,7 +711,7 @@ To add secondary axes, located inside the chart itself, use the `.show-*-seconda
711
711
712
712
### Data Axes
713
713
714
-
To add data axes which are auto-generated based on the amount of rows (`<tr>` tags) you have. Use the `.show-data-axes` class to add them.
714
+
Data axes are auto-generated based on the amount of rows (`<tr>` tags) in the chart. Add data axes using the `.show-data-axes` class.
715
715
716
716
```html
717
717
<tableclass="charts-css bar show-data-axes">
@@ -819,11 +819,11 @@ To add data axes which are auto-generated based on the amount of rows (`<tr>` ta
819
819
820
820
## Spacing
821
821
822
-
You can control the [space](../components/spacing/) between the data items and between the datasets.
822
+
Control the [space](../components/spacing/) between the data items and the datasets.
823
823
824
824
### Data Spacing
825
825
826
-
To add spacing between data items use the `.data-spacing-*` class.
826
+
To add space between data items use the `.data-spacing-*` class.
827
827
828
828
```html
829
829
<tableclass="charts-css bar data-spacing-10">
@@ -931,7 +931,7 @@ To add spacing between data items use the `.data-spacing-*` class.
931
931
932
932
### Datasets Spacing
933
933
934
-
To add spacing between data items use the `.datasets-spacing-*` class.
934
+
To add space between data items use the `.datasets-spacing-*` class.
935
935
936
936
```html
937
937
<tableclass="charts-css bar multiple datasets-spacing-10">
@@ -1043,7 +1043,7 @@ You can [reverse the order of the elements](../components/reverse-order/) withou
1043
1043
1044
1044
### Reverse Data Order
1045
1045
1046
-
To reverse thr data order use the `.reverse-data` class.
1046
+
To reverse the data order use the `.reverse-data` class.
1047
1047
1048
1048
```html
1049
1049
<tableclass="charts-css bar reverse-data">
@@ -1151,7 +1151,7 @@ To reverse thr data order use the `.reverse-data` class.
1151
1151
1152
1152
### Reverse Datasets Order
1153
1153
1154
-
To reverse datasets order use the `.reverse-datasets` class.
1154
+
To reverse the datasets order use the `.reverse-datasets` class.
1155
1155
1156
1156
```html
1157
1157
<tableclass="charts-css bar reverse-datasets">
@@ -1259,7 +1259,7 @@ To reverse datasets order use the `.reverse-datasets` class.
1259
1259
1260
1260
### Reverse Data & Datasets Order
1261
1261
1262
-
You can combine the two classes to reverse data order and datasets order.
1262
+
Combine the two classes to reverse the data order and the datasets order.
1263
1263
1264
1264
```html
1265
1265
<tableclass="charts-css bar reverse-data reverse-datasets">
0 commit comments