3 declare(strict_types=1);
    22     $f = $DIC->ui()->factory();
    23     $df = new \ILIAS\Data\Factory();
    27     $c_dimension = $df->dimension()->cardinal();
    30     $dataset = $df->dataset([
    31         "Dataset 1.1" => $c_dimension,
    32         "Dataset 1.2" => $c_dimension,
    33         "Dataset 1.3" => $c_dimension,
    35         "Grouped Dataset" => $df->dimension()->group(
"Dataset 1.1", 
"Dataset 1.2", 
"Dataset 1.3"),
    38     $dataset = $dataset->withPoint(
    46     $dataset = $dataset->withPoint(
    54     $dataset = $dataset->withPoint(
    65     $b1 = $b1->withColor($df->color(
"#12436D"));
    67     $b2 = $b2->withColor($df->color(
"#28A197"));
    69     $b3 = $b3->withColor($df->color(
"#801650"));
    71     $g = $g->withStacked(
true);
    79         "Grouped Dataset" => $g
    83     $bar = 
$f->chart()->bar()->horizontal(
    84         "A horizontal stacked bar chart",
 
stacked()
 expected output: > ILIAS shows a base horizontal bar chart but with stacked bars in different colors...