2023-05-20 19:32:20 +05:30
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" / >
< title > Mermaid Quick Test Page< / title >
< link rel = "icon" type = "image/png" href = "data:image/png;base64,iVBORw0KGgo=" / >
< style >
div.mermaid {
/* font-family: 'trebuchet ms', verdana, arial; */
font-family: 'Courier New', Courier, monospace !important;
}
< / style >
< / head >
< body >
< h1 > XY Charts demos< / h1 >
< pre class = "mermaid" >
2023-07-02 17:14:12 +05:30
xychart-beta horizontal
2023-08-20 17:51:53 +05:30
title "Basic xychart"
2023-07-03 21:44:56 +05:30
x-axis "this is x axis" [category1, "category 2", category3, category4]
2023-07-02 17:14:12 +05:30
y-axis yaxisText 10 --> 150
2023-07-03 21:44:56 +05:30
bar "sample bat" [52, 96, 35, 10]
2023-07-04 19:55:12 +05:30
line [23, 46, 75, 43]
2023-05-20 19:32:20 +05:30
< / pre >
< hr / >
2023-07-02 17:14:12 +05:30
< h1 > XY Charts demos< / h1 >
< pre class = "mermaid" >
xychart-beta
2023-08-20 17:51:53 +05:30
title "Basic xychart"
2023-07-03 21:44:56 +05:30
x-axis "this is x axis" [category1, "category 2", category3, category4]
2023-07-02 17:14:12 +05:30
y-axis yaxisText 10 --> 150
2023-07-03 21:44:56 +05:30
bar "sample bat" [52, 96, 35, 10]
2023-07-04 19:55:12 +05:30
line [23, 46, 75, 43]
2023-07-02 17:14:12 +05:30
< / pre >
< hr / >
2023-07-04 19:55:12 +05:30
< h1 > XY Charts demos< / h1 >
< pre class = "mermaid" >
2023-07-05 11:35:57 +05:30
xychart-beta
2023-07-21 22:42:46 +05:30
line [23, 46, 77, 34]
line [45, 32, 33, 12]
line [87, 54, 99, 85]
line [78, 88, 22, 4]
line [22, 29, 75, 33]
2023-07-05 11:35:57 +05:30
bar "sample bat" [52, 96, 35, 10]
2023-07-04 19:55:12 +05:30
< / pre >
2023-08-20 17:51:53 +05:30
< h1 > XY Charts demos< / h1 >
< pre class = "mermaid" >
xychart-beta
title "Basic xychart with many categories"
x-axis "this is x axis" [category1, "category 2", category3, category4, category5, category6, category7]
y-axis yaxisText 10 --> 150
2023-09-01 21:27:10 +05:30
bar "sample bar" [52, 96, 35, 10, 87, 34, 67, 99]
< / pre >
< h1 > XY Charts demos< / h1 >
< pre class = "mermaid" >
xychart-beta
title "Line chart with many category"
x-axis "this is x axis" [category1, "category 2", category3, category4, category5, category6, category7]
y-axis yaxisText 10 --> 150
line "sample line" [52, 96, 35, 10, 87, 34, 67, 99]
2023-08-20 17:51:53 +05:30
< / pre >
< h1 > XY Charts demos< / h1 >
< pre class = "mermaid" >
xychart-beta
title "Basic xychart with many categories with category overlap"
x-axis "this is x axis" [category1, "Lorem ipsum dolor sit amet, qui minim labore adipisicing minim sint cillum sint consectetur cupidatat.", category3, category4, category5, category6, category7]
y-axis yaxisText 10 --> 150
2023-09-01 21:27:10 +05:30
bar "sample bar" [52, 96, 35, 10, 87, 34, 67, 99]
2023-08-20 17:51:53 +05:30
< / pre >
2023-07-04 19:55:12 +05:30
< hr / >
2023-05-20 19:32:20 +05:30
< script type = "module" >
import mermaid from './mermaid.esm.mjs';
mermaid.initialize({
theme: 'default',
2023-09-01 21:27:10 +05:30
logLevel: 3,
2023-05-20 19:32:20 +05:30
securityLevel: 'loose',
});
< / script >
< / body >
< / html >