Skip to content

Commit 5885575

Browse files
authored
Merge pull request ChartsCSS#12 from ramiy/main
Cheatsheet: Charts.css 0.9.0 Anatomy
2 parents ae15363 + 8ce375c commit 5885575

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed
2.03 MB
Binary file not shown.

src/components/axes.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -717,9 +717,9 @@ To add informative titles for your axes, you can use `<table>` tags. To add axis
717717
justify-items: center;
718718
grid-template-columns: 50px 1fr;
719719
grid-template-rows: 250px 50px;
720-
grid-template-areas:
721-
"data-axis chart"
722-
"primary-axis primary-axis";
720+
grid-template-areas:
721+
"data-axis chart"
722+
". primary-axis";
723723
}
724724
#my-chart > table {
725725
grid-area: chart;
@@ -742,9 +742,9 @@ To add informative titles for your axes, you can use `<table>` tags. To add axis
742742
justify-items: center;
743743
grid-template-columns: 50px 1fr;
744744
grid-template-rows: 250px 50px;
745-
grid-template-areas:
746-
"data-axis chart"
747-
"primary-axis primary-axis";
745+
grid-template-areas:
746+
"data-axis chart"
747+
". primary-axis";
748748
background-color: #eee;
749749
width: 650px;
750750
}

src/customization/3d-effects.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ To make the bars look like 3D bars is pretty simple. It can be done using CSS `b
5353
}
5454
</template>
5555
<template v-slot:html-code>
56-
<table class="charts-css column hide-data show-data-axes" id="effect-example-1">
56+
<table class="charts-css column hide-data" id="effect-example-1">
5757

5858
<caption> 3D Effect Example #1 </caption>
5959

@@ -157,7 +157,7 @@ Or using `:before` and `:after` psedo-elements with `skew` property.
157157
}
158158
</template>
159159
<template v-slot:html-code>
160-
<table class="charts-css column hide-data show-data-axes" id="effect-example-2">
160+
<table class="charts-css column hide-data" id="effect-example-2">
161161

162162
<caption> 3D Effect Example #2 </caption>
163163

@@ -229,7 +229,7 @@ To make the bars look like 3D cylinders you can use the `border-radius` property
229229
}
230230
</template>
231231
<template v-slot:html-code>
232-
<table class="charts-css column hide-data show-data-axes" id="effect-example-3">
232+
<table class="charts-css column hide-data" id="effect-example-3">
233233

234234
<caption> 3D Effect Example #3 </caption>
235235

@@ -318,7 +318,7 @@ Another way to make your chart look 3D is to tilt the entire `<table>` with css
318318
}
319319
</template>
320320
<template v-slot:html-code>
321-
<table class="charts-css column show-data-axes" id="effect-example-4">
321+
<table class="charts-css column" id="effect-example-4">
322322

323323
<caption> 3D Effect Example #4 </caption>
324324

@@ -396,7 +396,7 @@ Or tilting the other way the cylinder bars with a nice linear gradient and some
396396
}
397397
</template>
398398
<template v-slot:html-code>
399-
<table class="charts-css column hide-data show-data-axes" id="effect-example-5">
399+
<table class="charts-css column hide-data" id="effect-example-5">
400400

401401
<caption> 3D Effect Example #5 </caption>
402402

@@ -476,7 +476,7 @@ We can also use the webkit reflect effect to highlight the chart
476476
}
477477
</template>
478478
<template v-slot:html-code>
479-
<table class="charts-css column labels-hide show-data-axes" id="effect-example-6">
479+
<table class="charts-css column labels-hide" id="effect-example-6">
480480

481481
<caption> 3D Effect Example #6 </caption>
482482

src/customization/animations.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Here is another simple examples with labels (`<th>` elements) spinning every 3 s
120120
}
121121
</template>
122122
<template v-slot:html-code>
123-
<table class="charts-css bar hide-data show-labels data-spacing-5 show-primary-axis show-data-axes" id="animations-example-2">
123+
<table class="charts-css bar hide-data show-labels data-spacing-5 show-primary-axis" id="animations-example-2">
124124

125125
<caption> Animation Example #2 - The Richest People In America (Forbes 1918) </caption>
126126

@@ -204,7 +204,7 @@ Another example with moving bars. Revealing themselves from the bottom.
204204
}
205205
</template>
206206
<template v-slot:html-code>
207-
<table class="charts-css column show-labels hide-data data-spacing-5 show-primary-axis show-data-axes" id="animations-example-3">
207+
<table class="charts-css column show-labels hide-data data-spacing-5 show-primary-axis" id="animations-example-3">
208208

209209
<caption> Animation Example #3 </caption>
210210

@@ -272,7 +272,7 @@ The same can be done with less code using `scale()`;
272272
}
273273
</template>
274274
<template v-slot:html-code>
275-
<table class="charts-css column show-labels hide-data data-spacing-5 show-primary-axis show-data-axes" id="animations-example-4">
275+
<table class="charts-css column show-labels hide-data data-spacing-5 show-primary-axis" id="animations-example-4">
276276

277277
<caption> Animation Example #4 </caption>
278278

@@ -351,7 +351,7 @@ A useful example to highlighting individual items with animations.
351351
}
352352
</template>
353353
<template v-slot:html-code>
354-
<table class="charts-css column show-labels data-spacing-15 show-primary-axis show-data-axes" id="animations-example-5">
354+
<table class="charts-css column show-labels data-spacing-15 show-primary-axis" id="animations-example-5">
355355

356356
<caption> Animation Example #5 </caption>
357357

@@ -439,7 +439,7 @@ Now lets animate the colors with gradients.
439439
}
440440
</template>
441441
<template v-slot:html-code>
442-
<table class="charts-css column show-labels hide-data data-spacing-5 show-primary-axis show-data-axes" id="animations-example-6">
442+
<table class="charts-css column show-labels hide-data data-spacing-5 show-primary-axis" id="animations-example-6">
443443

444444
<caption> Animation Example #6 </caption>
445445

0 commit comments

Comments
 (0)