How to plot multi charts with AjaxDataSource

I want to draw multi charts with one ajax call.
the ajax return a list of dictionary like this:

list(dict(
     x= series["x"].tolist(),
     y=series["y"].tolist(),
     z=series["z"].tolist(),
     date_time=series["date_time"].tolist()
 ))

I want to draw the multi charts by the return data.
each dictionary item in the list for one chart.
not sure how to use the AjaxDataSource.
I reference the



but not exactly the same things.

There is not any built-in / “official” way to do this, AjaxDataSource is meant to update a single columnar data source from an endpoint.

You could potentially slightly abuse the AjaxDataSource.adapter hook, by passing in other CDS objects to the args parameter of the CustomJS, and then updating those manually in the hook code. But note you would have to handle and rollover, etc. yourself, to prevent those data sources from growing without bound.