1 Reply Latest reply: Feb 25, 2009 12:27 AM by 614882 RSS

    How to set the view format of the numbers in the tooltip.

    485377
      By default a graph will automatically format the axis view to be a scaled value.
      Example: 180321005 will show as 180 M on the axis label for the graph

      There is a way to set the scaling on the y-axis of a graph so that it will not be displayed as a scaled number.
      m_graph.getY1Axis().getViewFormat().setScaleFactor(BaseViewFormat.SCALEFACTOR_NONE);
      Now: Example: 180321005 will show as 180321005 on the axis label for the graph


      But is there a way to set the scaling factor for the pop up tooltip that appears when the user mouses over a point on the graph?

      Right now the tooltip view shows the y value as a scaled value; therefore, much of the number's percision is lost.


      Thanks,
      michelle