C++ (Qt) QwtPlotMultiBarChart *chart = new QwtPlotMultiBarChart("test chart"); chart->setStyle(QwtPlotMultiBarChart::Stacked); chart->setOrientation(Qt::Horizontal); for (int i: {0, 2}) { QwtColumnSymbol *symbol = new QwtColumnSymbol( QwtColumnSymbol::Box ); symbol->setPalette( QPalette( Qt::transparent ) ); chart->setSymbol(i, symbol); } chart->setSamples({{1, 2, 3, 4}, {5, 6, 7, 8}}); chart->attach(plot_);