Create a marker / crosshair in a CombinedDomainXYPlot

后端 未结 2 1376
梦如初夏
梦如初夏 2021-01-23 15:18

I want to show in a CombinedDomainXYPlot a marker. This is not working. I can add the marker for each subplot. But I want to add it for the CombinedDomainXYPlot. Anybody who can

2条回答
  •  情书的邮戳
    2021-01-23 15:44

    drawAnnotations is implemented in XYPlot, unfortunately CombinedDomainXYPlot subclasses XYPlot but doesn't call drawAnnotations in its overridden implementation of draw or forward the annotation on to the subplots.

    You could possible provide your on implemntation of addAnnotation and removeAnnotation by subclassing CombinedDomainXYPlot.

提交回复
热议问题