question: private int convertToPanelX ( double xval ) { double temp = ( xval - m_minX ) / m_rangeX ; temp = temp * m_panelWidth ; return ( int ) temp ; }
target:  Convert an X coordinate from the instance space to the panel space.