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/area.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ Add a [heading](../components/heading/) to your chart using the `<caption>` tag.
67
67
68
68
## Data
69
69
70
-
To transform HTML tables into charts, you need to provide [data](../components/data/). The chart requires unit-less numbers, between `0` to `1`.
70
+
To transform HTML tables into charts, you need to provide [data](../components/data/). The chart requires unitless numbers, between `0` to `1`.
71
71
72
72
```html{2}
73
73
<tr>
@@ -83,7 +83,7 @@ Use the `--start` and `--end` variables to set the data. While `--end` is equiva
83
83
</tr>
84
84
```
85
85
86
-
To help the framwork identify the text, wrap the content with a `<span class="data">` tag.
86
+
To help the framework identify the text, wrap the content with a `<span class="data">` tag.
87
87
88
88
```html{2}
89
89
<tr>
@@ -148,7 +148,7 @@ To help the framwork identify the text, wrap the content with a `<span class="da
148
148
</tr>
149
149
```
150
150
151
-
As any other data item, they should have the relevalt structure.
151
+
As any other data item, they should have the relevant structure.
152
152
153
153
```html{2-4}
154
154
<tr>
@@ -660,7 +660,7 @@ Data axes are auto-generated based on the amount of columns (`<tr>` tags) in the
660
660
661
661
## Orientation
662
662
663
-
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).
663
+
Control the [chart orientation](../components/orientation/), or direction. The initial orientation is top-to-bottom (on LTR and RTL languages) and right-to-left (on TTM languages).
Copy file name to clipboardExpand all lines: src/charts/bar.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ Add a [heading](../components/heading/) to your chart using the `<caption>` tag.
68
68
69
69
## Data
70
70
71
-
To transform HTML tables into charts, you need to provide [data](../components/data/). The chart requires unit-less numbers, between `0` to `1`.
71
+
To transform HTML tables into charts, you need to provide [data](../components/data/). The chart requires unitless numbers, between `0` to `1`.
72
72
73
73
```html{2}
74
74
<tr>
@@ -84,7 +84,7 @@ Use the `--size` variable to set the data.
84
84
</tr>
85
85
```
86
86
87
-
To help the framwork identify the text, wrap the content with a `<span class="data">` tag.
87
+
To help the framework identify the text, wrap the content with a `<span class="data">` tag.
88
88
89
89
```html{2}
90
90
<tr>
@@ -149,7 +149,7 @@ To help the framwork identify the text, wrap the content with a `<span class="da
149
149
</tr>
150
150
```
151
151
152
-
As any other data item, they should have the relevalt structure.
152
+
As any other data item, they should have the relevant structure.
153
153
154
154
```html{2-4}
155
155
<tr>
@@ -925,7 +925,7 @@ To add space between data items use the `.datasets-spacing-*` class.
925
925
926
926
## Orientation
927
927
928
-
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).
928
+
Control the [chart orientation](../components/orientation/), or direction. The initial orientation is top-to-bottom (on LTR and RTL languages) and right-to-left (on TTM languages).
Copy file name to clipboardExpand all lines: src/charts/column.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ Add a [heading](../components/heading/) to your chart using the `<caption>` tag.
67
67
68
68
## Data
69
69
70
-
To transform HTML tables into charts, you need to provide [data](../components/data/). The chart requires unit-less numbers, between `0` to `1`.
70
+
To transform HTML tables into charts, you need to provide [data](../components/data/). The chart requires unitless numbers, between `0` to `1`.
71
71
72
72
```html{2}
73
73
<tr>
@@ -83,7 +83,7 @@ Use the `--size` variable to set the data.
83
83
</tr>
84
84
```
85
85
86
-
To help the framwork identify the text, wrap the content with a `<span class="data">` tag.
86
+
To help the framework identify the text, wrap the content with a `<span class="data">` tag.
87
87
88
88
```html{2}
89
89
<tr>
@@ -148,7 +148,7 @@ To help the framwork identify the text, wrap the content with a `<span class="da
148
148
</tr>
149
149
```
150
150
151
-
As any other data item, they should have the relevalt structure.
151
+
As any other data item, they should have the relevant structure.
152
152
153
153
```html{2-4}
154
154
<tr>
@@ -924,7 +924,7 @@ To add space between data items use the `.datasets-spacing-*` class.
924
924
925
925
## Orientation
926
926
927
-
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).
927
+
Control the [chart orientation](../components/orientation/), or direction. The initial orientation is top-to-bottom (on LTR and RTL languages) and right-to-left (on TTM languages).
Copy file name to clipboardExpand all lines: src/charts/line.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ Add a [heading](../components/heading/) to your chart using the `<caption>` tag.
67
67
68
68
## Data
69
69
70
-
To transform HTML tables into charts, you need to provide [data](../components/data/). The chart requires unit-less numbers, between `0` to `1`.
70
+
To transform HTML tables into charts, you need to provide [data](../components/data/). The chart requires unitless numbers, between `0` to `1`.
71
71
72
72
```html{2}
73
73
<tr>
@@ -83,7 +83,7 @@ Use the `--start` and `--end` variables to set the data. While `--end` is equiva
83
83
</tr>
84
84
```
85
85
86
-
To help the framwork identify the text, wrap the content with a `<span class="data">` tag.
86
+
To help the framework identify the text, wrap the content with a `<span class="data">` tag.
87
87
88
88
```html{2}
89
89
<tr>
@@ -155,7 +155,7 @@ To help the framwork identify the text, wrap the content with a `<span class="da
155
155
</tr>
156
156
```
157
157
158
-
As any other data item, they should have the relevalt structure.
158
+
As any other data item, they should have the relevant structure.
159
159
160
160
```html{2-4}
161
161
<tr>
@@ -691,7 +691,7 @@ Data axes are auto-generated based on the amount of columns (`<tr>` tags) in the
691
691
692
692
## Orientation
693
693
694
-
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).
694
+
Control the [chart orientation](../components/orientation/), or direction. The initial orientation is top-to-bottom (on LTR and RTL languages) and right-to-left (on TTM languages).
Copy file name to clipboardExpand all lines: src/components/axes.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,9 @@ The axis system is a separate component and contains several parts. **By default
12
12
13
13
### Naming Conventions
14
14
15
-
One of the frameworks philosophical guidelines is to use direction-free class names. This way it can support all languages out-of-the-box, including left-to-right (LTR), right-to-left (RTL) and top-to-bottom (TTB) languages.
15
+
One of the framework's philosophical guidelines is to use direction-free class names. This way it can support all languages out-of-the-box, including left-to-right (LTR), right-to-left (RTL) and top-to-bottom (TTB) languages.
16
16
17
-
Class like `.show-x-axes` and `.show-y-axes` were deprecated early-on in favor of `.show-primary-axis`, `.show-*-secondary-axes` and `.show-data-axes`.
17
+
Class like `.show-x-axes` and `.show-y-axes` were deprecated early-on in favor of `.show-primary-axis`, `.show-*-secondary-axes` and `.show-data-axes`.
18
18
19
19
### Supported Axes
20
20
@@ -28,7 +28,7 @@ The **Charts.css** axis system supports 3 types of axes:
28
28
29
29
The primary axis separates the labels from the data. To display the primary axis use the `.show-primary-axis` class.
30
30
31
-
Note that in a bar chart the primary axis is horizontal, while in a column chart it is vertical. If this changes the label's position (before of after), the primary axis will change its position too.
31
+
Note that in a bar chart the primary axis is horizontal, while in a column chart it is vertical. If this changes the label's position (before or after), the primary axis will change its position too.
32
32
33
33
```html
34
34
<tableclass="charts-css bar show-labels show-primary-axis">
@@ -250,7 +250,7 @@ To customize the primary axis use the following CSS variables:
250
250
251
251
## Add Secondary Axes
252
252
253
-
While the primary axis located between the labels and the data, the secondary axes located behind the chart data. The number of displayed axes can be controled using the `.show-*-secondary-axes` class. Replace the `*` in the class name, with any number `1`-`10`. For example, to display 4 secondary axes use the `.show-4-secondary-axes` class.
253
+
While the primary axis is located between the labels and the data, the secondary axes are located behind the chart data. The number of displayed axes can be controlled using the `.show-*-secondary-axes` class. Replace the `*` in the class name, with any number `1`-`10`. For example, to display 4 secondary axes use the `.show-4-secondary-axes` class.
254
254
255
255
```html
256
256
<tableclass="charts-css bar show-labels show-4-secondary-axes">
Copy file name to clipboardExpand all lines: src/components/colors.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,11 @@ Chart colors help users distinguish between data items and datasets.
8
8
9
9
## Color System
10
10
11
-
The default color system consist of ten repeating colors. With the help of CSS variables you can override the default colors to create custom themes. More advanced users may choose to create entirely new color systems based on unique design requirements.
11
+
The default color system consists of ten repeating colors. With the help of CSS variables you can override the default colors to create custom themes. More advanced users may choose to create entirely new color systems based on unique design requirements.
12
12
13
13
### Default Colors
14
14
15
-
The **Charts.css** color system consist of the following 10 colors:
15
+
The **Charts.css** color system consists of the following 10 colors:
@@ -124,7 +124,7 @@ The most basic way to change colors is to use the `--color` variable, applying i
124
124
125
125
## Change Specific Colors
126
126
127
-
To change specific element color, we need to apply the `--color` variable on a specific `<td>` tag. This way the inheritance rules only apply to that element.
127
+
To change the color of a specific element, we need to apply the `--color` variable on a specific `<td>` tag. This way the inheritance rules only apply to that element.
128
128
129
129
```html{3}
130
130
<tr>
@@ -212,7 +212,7 @@ To change specific element color, we need to apply the `--color` variable on a s
212
212
</template>
213
213
</code-example>
214
214
215
-
This method can be also be applied to all the `<td>` elements one by one.
215
+
This method can also be applied to all the `<td>` elements one by one.
216
216
217
217
```html{3,7,11}
218
218
<tr>
@@ -305,7 +305,7 @@ This method can be also be applied to all the `<td>` elements one by one.
305
305
</template>
306
306
</code-example>
307
307
308
-
**Note:** With small data tables it's acceptable to override colors for each `<td>` element but with large tables it's a not recommended. Keep reading to learn how to [change global colors](#change-global-colors).
308
+
**Note:** With small data tables it's acceptable to override colors for each `<td>` element but with large tables it's not recommended. Keep reading to learn how to [change global colors](#change-global-colors).
Copy file name to clipboardExpand all lines: src/components/data.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,7 +140,7 @@ Raw data without a visual representation has no meaning. As visual frameworks do
140
140
</template>
141
141
</code-example>
142
142
143
-
**Note:** The `--size` property can be manually changed for each data item. But the values have to be unit-less numbers, between `0` to `1`. This way all chart types are covered as we multiply size value by `100%` or by `360deg` (depending on the chart type).
143
+
**Note:** The `--size` property can be manually changed for each data item. But the values have to be unitless numbers, between `0` to `1`. This way all chart types are covered as we multiply size value by `100%` or by `360deg` (depending on the chart type).
144
144
145
145
## Raw data is not really required
146
146
@@ -280,7 +280,7 @@ The example above presents a significant problem. The solution is to add data to
280
280
281
281
## Show Data on Hover
282
282
283
-
Another good practice is to hide the data, and show it when visitors are hover over it. This is done using the `.show-data-on-hover` class.
283
+
Another good practice is to hide the data, and show it only when hovering over it. This is done by wrapping the data with `<span class="data">` tag and applying `.show-data-on-hover` class to the wrapper.
@@ -415,6 +415,6 @@ Some chart types require not only the `--size` variable but also the `--start` v
415
415
416
416
## Size Variable
417
417
418
-
All `--size` variables should always be a unit-less number between `0` to `1`. Why unit-less? Because you should be able to change chart types without changing the unit in all your variables.
418
+
All `--size` variables should always be a unitless number between `0` to `1`. Why unitless? Because you should be able to change chart types without changing the unit in all your variables.
419
419
420
420
Rectangular charts use percentage as a unit of measurement while radial charts use degrees. To make it easier for users to switch between chart types, the framework deprecated units. Instead, it multiplies the `--size` by `100%` or by `360deg` depending on the chart type.
Copy file name to clipboardExpand all lines: src/components/legend.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ Chart legends display the labels of the datasets as they appear in the chart.
9
9
10
10
## Legend Structure
11
11
12
-
The legend is a separate component with a separate HTML tag. You have the freedom to position the legend wherever you want. Just like any other HTML tag.
12
+
The legend is a separate component with a separate HTML tag. You have the freedom to position the legend wherever you want. Just like any other HTML tag.
13
13
14
-
Note that currently legends required to use of `<ul>` with `<li>` or `<ol>` with `<li>` tags. In future versions, you will have the freedom to use any HTML tag.
14
+
Note that currently legends require the use of `<ul>` with `<li>` or `<ol>` with `<li>` tags. In future versions, you will have the freedom to use any HTML tag.
15
15
16
16
## Legend Position
17
17
@@ -109,7 +109,7 @@ Use the `.legend` class to style your chart legend.
109
109
110
110
## Legend Orientation
111
111
112
-
By default, legend dataset labels are vertically aligned and positioned beside the chart. To aligning legend dataset labels horizontally, use the `.legend-inline` class. This is usually used to position the legend above or below the chart.
112
+
By default, legend dataset labels are vertically aligned and positioned beside the chart. To align legend dataset labels horizontally, use the `.legend-inline` class. This is usually used to position the legend above or below the chart.
113
113
114
114
```html
115
115
<ulclass="charts-css legend legend-inline">
@@ -657,7 +657,7 @@ Use the `.legend-line` class to display a line shaped label.
657
657
658
658
Change any aspect of the legend element using CSS. Simply target the CSS selector and apply your own style.
659
659
660
-
For example, lets change the text color, the background color and add a box-shadow:
660
+
For example, let's change the text color, the background color and add a box-shadow:
0 commit comments