作者:苏汉文健康_706 | 来源:互联网 | 2023-05-18 20:33
SoIhaveextendedthePlotChartthatcomeswithFlextohavetheabilitytodrawtrend-lines.Todo
So I have extended the PlotChart that comes with Flex to have the ability to draw trend-lines. To do this, I have to get pixel positions. How can I convert (100px,100px) in pixels to a point on the graph, such as (0.7,1.0)?
因此,我扩展了Flex附带的PlotChart,以便能够绘制趋势线。要做到这一点,我必须获得像素位置。如何将(100px,100px)像素转换为图形上的某个点,例如(0.7,1.0)?
3 个解决方案