Skip to content

Commit c82bf7a

Browse files
committed
Update content
1 parent 984ca78 commit c82bf7a

39 files changed

+282
-281
lines changed

src/charts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ next: ./bar
99

1010
## Chart Types
1111

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**.
1313

1414
| Type | Development Status | Usage Class |
1515
|:--------------------|:--------------------------------------------------------------------|:--------------------|
@@ -22,4 +22,4 @@ Before using charts, check the development status. If a chart type is already re
2222
| [Radar](./radar/) | <Badge type="warning" vertical="middle" text="Under Development" /> | `charts-css radar` |
2323
| [Polar](./polar/) | <Badge type="warning" vertical="middle" text="Under Development" /> | `charts-css polar` |
2424

25-
Also see the [supported features](/development/supported-features/) for each chart type.
25+
See the [supported features](/development/supported-features/) for each chart type.

src/charts/area.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To visualize your data with an area chart, the main `.charts-css` class should b
1818

1919
## Data
2020

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.
2222

2323
```html
2424
<table class="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
8181

8282
## Dimensions
8383

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.
8585

8686
```css
8787
#my-chart.area {
@@ -134,7 +134,7 @@ To control the chart dimensions you can use regular CSS. You can use media queri
134134

135135
## Orientation
136136

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.
138138

139139
```html
140140
<table class="charts-css area reverse">
@@ -179,7 +179,7 @@ You can control the [chart orientation](../components/orientation/), or directio
179179

180180
## Heading
181181

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.
183183

184184
```html
185185
<table class="charts-css area show-heading">
@@ -225,7 +225,7 @@ You can add a [heading](../components/heading/) to your chart using the `<captio
225225

226226
## Multiple Datasets
227227

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>`).
229229

230230
```html{2}
231231
<tr>
@@ -288,7 +288,7 @@ But when using multiple datasets you should add the `.multiple` class.
288288

289289
## Labels
290290

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>`
292292

293293
```html{2}
294294
<tr>
@@ -299,7 +299,7 @@ You can add [labels](../components/labels/) to your data and control the labels
299299
</tr>
300300
```
301301

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.
303303

304304
```html
305305
<table class="charts-css area show-labels">
@@ -405,7 +405,7 @@ By default the labels are hidden. To display the labels use the `.show-labels` c
405405

406406
</v-row>
407407

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.
409409

410410
```css
411411
#my-chart.area {
@@ -515,11 +515,11 @@ Some charts use long labels others use short ones. To customize the label size u
515515

516516
## Axes
517517

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.
519519

520520
### Primary Axis
521521

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.
523523

524524
```html
525525
<table class="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
627627

628628
### Secondary Axes
629629

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.
631631

632632
```html
633633
<table class="charts-css area show-4-secondary-axes">
@@ -735,7 +735,7 @@ To add secondary axes, located inside the chart itself, use the `.show-*-seconda
735735

736736
### Data Axes
737737

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.
739739

740740
```html
741741
<table class="charts-css area show-data-axes">
@@ -847,7 +847,7 @@ You can [reverse the order of the elements](../components/reverse-order/) withou
847847

848848
### Reverse Data Order
849849

850-
To reverse thr data order use the `.reverse-data` class.
850+
To reverse the data order use the `.reverse-data` class.
851851

852852
```html
853853
<table class="charts-css area reverse-data">

src/charts/bar.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Bar charts display raw data as horizontal bars.
99

1010
## Usage
1111

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.
1313

1414
```html
1515
<table class="charts-css bar">
@@ -19,7 +19,7 @@ To visualize your data with bar chart, the main `.charts-css` class should be fo
1919

2020
## Dimensions
2121

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.
2323

2424
```css
2525
#my-chart.bar {
@@ -72,7 +72,7 @@ To control the chart dimensions you can use regular CSS. You can use media queri
7272

7373
## Orientation
7474

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.
7676

7777
```html
7878
<table class="charts-css bar reverse">
@@ -117,7 +117,7 @@ You can control the [chart orientation](../components/orientation/), or directio
117117

118118
## Heading
119119

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.
121121

122122
```html
123123
<table class="charts-css bar show-heading">
@@ -163,7 +163,7 @@ You can add a [heading](../components/heading/) to your chart using the `<captio
163163

164164
## Multiple Datasets
165165

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>`).
167167

168168
```html{2}
169169
<tr>
@@ -264,7 +264,7 @@ But when using multiple datasets you should add the `.multiple` class.
264264

265265
## Labels
266266

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>`.
268268

269269
```html{2}
270270
<tr>
@@ -275,7 +275,7 @@ You can add [labels](../components/labels/) to your data and control the labels
275275
</tr>
276276
```
277277

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.
279279

280280
```html
281281
<table class="charts-css bar show-labels">
@@ -381,7 +381,7 @@ By default the labels are hidden. To display the labels use the `.show-labels` c
381381

382382
</v-row>
383383

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.
385385

386386
```css
387387
#my-chart.bar {
@@ -491,11 +491,11 @@ Some charts use long labels others use short ones. To customize the label size u
491491

492492
## Axes
493493

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.
495495

496496
### Primary Axis
497497

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.
499499

500500
```html
501501
<table class="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
603603

604604
### Secondary Axes
605605

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.
607607

608608
```html
609609
<table class="charts-css bar show-4-secondary-axes">
@@ -711,7 +711,7 @@ To add secondary axes, located inside the chart itself, use the `.show-*-seconda
711711

712712
### Data Axes
713713

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.
715715

716716
```html
717717
<table class="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
819819

820820
## Spacing
821821

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.
823823

824824
### Data Spacing
825825

826-
To add spacing between data items use the `.data-spacing-*` class.
826+
To add space between data items use the `.data-spacing-*` class.
827827

828828
```html
829829
<table class="charts-css bar data-spacing-10">
@@ -931,7 +931,7 @@ To add spacing between data items use the `.data-spacing-*` class.
931931

932932
### Datasets Spacing
933933

934-
To add spacing between data items use the `.datasets-spacing-*` class.
934+
To add space between data items use the `.datasets-spacing-*` class.
935935

936936
```html
937937
<table class="charts-css bar multiple datasets-spacing-10">
@@ -1043,7 +1043,7 @@ You can [reverse the order of the elements](../components/reverse-order/) withou
10431043

10441044
### Reverse Data Order
10451045

1046-
To reverse thr data order use the `.reverse-data` class.
1046+
To reverse the data order use the `.reverse-data` class.
10471047

10481048
```html
10491049
<table class="charts-css bar reverse-data">
@@ -1151,7 +1151,7 @@ To reverse thr data order use the `.reverse-data` class.
11511151

11521152
### Reverse Datasets Order
11531153

1154-
To reverse datasets order use the `.reverse-datasets` class.
1154+
To reverse the datasets order use the `.reverse-datasets` class.
11551155

11561156
```html
11571157
<table class="charts-css bar reverse-datasets">
@@ -1259,7 +1259,7 @@ To reverse datasets order use the `.reverse-datasets` class.
12591259

12601260
### Reverse Data & Datasets Order
12611261

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.
12631263

12641264
```html
12651265
<table class="charts-css bar reverse-data reverse-datasets">

0 commit comments

Comments
 (0)