0 Replies Latest reply on Mar 12, 2010 8:02 AM by hidarikani

    LineChart coordinates

    hidarikani Level 2

      Mouse.locaX doesn't match LineSeriesItem.x

      because mouse.localX starts from the edge of the chart,

      and the LineSeriesItem.x starts after the chart axis.

       

      Mouse.localX
      |
      |   |LineSeriesItem.x
      |   |
      |   |
      |   |
      |   +----------------
      |
      +--------------------
      
      
      
      

       

      How do I match the coordinate systems? Maybe there's a way to measure the axis width?