Dynamic series are covered in the link below. I have used them before to give data on an enumeration where there is 3 different options. Yes/No/Notset
https://docs.mendix.com/howto7/extensibility/charts-dynamic-series and there should be a sample for each chart in this project https://github.com/mendixlabs/charts/releases/tag/v1.3.0