From 3e3bd15b56b9d41d0811312ca7b365f7f972387e Mon Sep 17 00:00:00 2001 From: sbosse Date: Mon, 21 Jul 2025 22:53:03 +0200 Subject: [PATCH] Mon 21 Jul 22:43:21 CEST 2025 --- .../examples/graph2d/10_barsSideBySide.html | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 js/dos/ext/vis/examples/graph2d/10_barsSideBySide.html diff --git a/js/dos/ext/vis/examples/graph2d/10_barsSideBySide.html b/js/dos/ext/vis/examples/graph2d/10_barsSideBySide.html new file mode 100644 index 0000000..c9d89f0 --- /dev/null +++ b/js/dos/ext/vis/examples/graph2d/10_barsSideBySide.html @@ -0,0 +1,75 @@ + + + + Graph2d | Bar Graphs Side by Side Example + + + + + + + +

Graph2d | Bar Graphs Side by Side Example

+
+ When using Bar graphs, it can often be the case that there are multiple bars on the same timepoint. This may not always be the desired result. You can use the + barChart.handleOverlap option to automatically plot the bars next to eachother or stacked on top of eachother if they occupy the same timeslot. By default, this option is on, the bars overlap. + Use the dropdown box to experiment with the options. The stacked only really makes sense when using groups as is shown in the next example. + +

+ Handle overlap:
+
+
+ +
+ + + + \ No newline at end of file