Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
385
DataChart -- actual chart bounding box
posted

Now that I've got my chart running transparent, how can I get the rectangle (top/left/bottom/right) coordinates of the actual chart (not labels and padding) being displayed on the screen? I tried the plotPadding getters, but that doesn't seem to be it -- they're always zero.

Thanks!

Ben

Parents
  • 30692
    Verified Answer
    Offline posted

    Ben,

    You want getViewportRect:

    http://help.infragistics.com/Doc/Android/2015.2/CLR4.0/?page=Infragistics.DataChart~com.infragistics.controls.SeriesViewerBaseView~getViewportRect.html

    This will return to you the rectangle that represents the inner coordinates of the plot area within the chart component.

    Hope this helps!

    -Graham

Reply Children
No Data