Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从不扩展 Chart 的类中完成以下命令?
getChartChildren().get(0).setMouseTransparent(true); // child is plotBackground
该方法getChartChildren()在图表中受到保护。
getChartChildren()
您有两个选择:让您的类扩展 Cart 或将您的类移动到与 Cart 类相同的包装。