Allow axis kwargs passthrough
							parent
							
								
									d127192c2d
								
							
						
					
					
						commit
						584be7dca9
					
				| 
						 | 
					@ -862,6 +862,7 @@ class ChartPlotWidget(pg.PlotWidget):
 | 
				
			||||||
    def overlay_plotitem(
 | 
					    def overlay_plotitem(
 | 
				
			||||||
        self,
 | 
					        self,
 | 
				
			||||||
        name: str,
 | 
					        name: str,
 | 
				
			||||||
 | 
					        axis_kwargs: dict = {},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ) -> pg.PlotItem:
 | 
					    ) -> pg.PlotItem:
 | 
				
			||||||
        # Custom viewbox impl
 | 
					        # Custom viewbox impl
 | 
				
			||||||
| 
						 | 
					@ -875,6 +876,7 @@ class ChartPlotWidget(pg.PlotWidget):
 | 
				
			||||||
        yaxis = PriceAxis(
 | 
					        yaxis = PriceAxis(
 | 
				
			||||||
            orientation='right',
 | 
					            orientation='right',
 | 
				
			||||||
            linkedsplits=self.linked,
 | 
					            linkedsplits=self.linked,
 | 
				
			||||||
 | 
					            **axis_kwargs,
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        plotitem = pg.PlotItem(
 | 
					        plotitem = pg.PlotItem(
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue