Hi, In our Graph we use both Y1 and Y2 Axis ,We have Selected Y1 as Numeric and Y2 as $ Format .But when we set the setDataTextDisplay(true); the Value is only displayed as Numeric for both Y1 and Y2 Axis and the Toll tip values are also showing in the same manner. Below is sample code.Kindly suggest how to handle the Data Text Display for Y2 and Y2 Axis Seprately.
-* HTML Tool -* Created by Graph Assistant -* FF Line do not change this line! Field Name -* FF Line do not change this line! Alias -* FF Line do not change this line! Format -* FF Line do not change this line! Segment -* FF Line do not change this line! displayTree=0 GRAPH FILE CAR SUM CAR.BODY.SALES CAR.SPECS.WEIGHT CAR.SPECS.WIDTH ACROSS CAR.ORIGIN.COUNTRY ON GRAPH SET LOOKGRAPH VBAR2AX ON GRAPH SET 3D OFF ON GRAPH SET BARNUMB OFF ON GRAPH SET GRID ON ON GRAPH SET GRAPHEDIT SERVER ON GRAPH SET VZERO ON ON GRAPH SET GRAPHSTYLE * setDataTextDisplay(true); setSeriesType(0,1); setAxisAssignment(0,0); setSeriesType(1,1); setAxisAssignment(1,1); setSeriesType(2,1); setAxisAssignment(2,0); setLegendDisplay(true); setLegendMarkerPosition(0); setMarkerDisplay(true); setUseSeriesShapes(false); setConnectLineMarkers(false); setConnectScatterMarkers(false); setO1LabelDisplay(true); setO1AxisSide(0); setO1MajorGridDisplay(true); setO1MajorGridStyle(0); setO1MinorGridDisplay(false); setY1LabelDisplay(true); setY1AxisSide(0); setTextFormatPreset(getY1Label(),1); setY1MajorGridDisplay(true); setY1MajorGridStyle(0); setY1MinorGridDisplay(false); setY2LabelDisplay(true); setY2AxisSide(1); setTextFormatPreset(getY2Label(),6); setY2MajorGridDisplay(true); setDataTextFormat(1); setY2MajorGridStyle(0); setY2MinorGridDisplay(false); setFontSize(getO1Label(),12); setFontSizeAbsolute(getO1Label(),true); setPlace(true); ENDSTYLE END -* End Graph AssistantThis message has been edited. Last edited by: Kerry,
769 Windows
Using all the above
December 03, 2009, 10:50 AM
IBSupport
Hi Priya, If this is still an issue please open a case with Information Builders' Customer Support Services for assistance. You may either call at 1-800-736-6130, or access online at InfoResponse.