HiI have been trying to add ‘subplots’ to my chart.

self.trend_chart.add_series(Series("MACD UP", SeriesType.BAR, unit="$", color=Color.GREEN))
self.trend_chart.add_series(Series("MOMP", SeriesType.BAR, index=1))

The code above works but as soon as I try to pass both index and color arguments I get the error:

#Trying to dynamically access a method that does not exist throws a TypeError exception. 
#To prevent the exception, ensure each parameter type matches those required by the 'int'>) method. Please checkout the API documentation. at initialize self.trend_chart.add_series(Series("MACD UP", SeriesType.BAR, unit="$", color=Color.GREEN, index=0)) 
#No method matches given arguments for .ctor: (<class 'str'>, <class 'int'>)