I am trying to build a stacked y bar diagram using pgfplots version 1.16. The stacked bars are no problem but the labeling of the x axis. I am trying to rebuild the following diagram with its major and minor labels. I could not find anything like this in the pgfplots manual. Maybe somebody has an idea how this might work?
Thank you very much in advance for your help!
\documentclass[12pt,a4paper]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{pgfplots}%Diagramme
\pgfplotsset{compat=1.16}
\begin{document}
\begin{figure}
\begin{tikzpicture}
\begin{axis}[
ybar stacked,
width=0.6\textwidth,
height=8cm,
symbolic x coords={Kessel in Betrieb (K), Kessel in Betrieb (Ö), Kessel in Betrieb (G), Neuer Kessel (K), Neuer Kessel (Ö), Neuer Kessel (G), Sonderregionen (K), Sonderregionen (Ö), Sonderregionen (G), Jin Jing Da Kessel, Lin Jing Kessel},
xtick={Kessel in Betrieb (K), Kessel in Betrieb (Ö), Kessel in Betrieb (G), Neuer Kessel (K), Neuer Kessel (Ö), Neuer Kessel (G), Sonderregionen (K), Sonderregionen (Ö), Sonderregionen (G), Jin Jing Da Kessel, Lin Jing Kessel},
xticklabel style={rotate=70, anchor=east},
scaled ticks=false,
tick label style={/pgf/number format/fixed},
legend pos=outer north east]
\addplot coordinates {(Kessel in Betrieb (K), 85) (Kessel in Betrieb (Ö), 60) (Kessel in Betrieb (G), 35) (Neuer Kessel (K), 50) (Neuer Kessel (Ö), 30) (Neuer Kessel (G), 20) (Sonderregionen (K), 30) (Sonderregionen (Ö), 30) (Sonderregionen (G),20) (Jin Jing Da Kessel, 0) (Lin Jing Kessel, 10)};
\addlegendentry{PM}
\addplot coordinates {(Kessel in Betrieb (K), 400) (Kessel in Betrieb (Ö), 300) (Kessel in Betrieb (G), 100) (Neuer Kessel (K), 300) (Neuer Kessel (Ö), 200) (Neuer Kessel (G), 50) (Sonderregionen (K), 200) (Sonderregionen (Ö), 100) (Sonderregionen (G), 50) (Jin Jing Da Kessel, 3.5) (Lin Jing Kessel, 0)};
\addlegendentry{SO2}
\addplot coordinates {(Kessel in Betrieb (K), 400) (Kessel in Betrieb (Ö), 400) (Kessel in Betrieb (G), 100) (Neuer Kessel (K), 400) (Neuer Kessel (Ö), 300) (Neuer Kessel (G), 250) (Sonderregionen (K), 200) (Sonderregionen (Ö), 100) (Sonderregionen (G), 150) (Jin Jing Da Kessel, 100) (Lin Jing Kessel, 30)};
\addlegendentry{NOx}
\end{axis}
\end{tikzpicture}
\end{figure}
\end{document}

