[CLOSED] Display value and percentage in the graph tooltip
Hi All,
I need to display both the value and percentage in the graph tooltip.
How do I add the percentage (of row_total) in the tooltip ?
Can the tooltip be customized without having to change the graph to be applet-based? Any alternative solution ?
Sample code ->
GRAPH FILE CAR -* Created by Advanced Graph Assistant SUM DEALER_COST RETAIL_COST COMPUTE ROW_TOTAL/D7 = DEALER_COST + RETAIL_COST; NOPRINT BY HIGHEST ROW_TOTAL NOPRINT BY CAR -*ON GRAPH PCHOLD FORMAT PNG ON GRAPH SET GRAPHEDIT OFF ON GRAPH SET HTMLENCODE ON ON GRAPH SET GRAPHDEFAULT OFF ON GRAPH SET VZERO OFF ON GRAPH SET HAXIS 770 ON GRAPH SET VAXIS 400 ON GRAPH SET UNITS PIXELS ON GRAPH SET LOOKGRAPH HBRSTK1 ON GRAPH SET 3D OFF ON GRAPH SET GRMERGE ON ON GRAPH SET GRAPHSTYLE * setTemplateFile("/images/tdg/template/IBISouthWestern.txt"); setReportParsingErrors(false); setSelectionEnableMove(false); setTransparentBorderColor(getSeries(0),true); setTransparentBorderColor(getSeries(1),true); setTransparentBorderColor(getSeries(2),true); setTransparentBorderColor(getSeries(3),true); setTransparentBorderColor(getSeries(4),true); setTransparentBorderColor(getSeries(5),true); setTransparentBorderColor(getSeries(6),true); setTransparentBorderColor(getSeries(7),true); setTransparentBorderColor(getSeries(8),true); setTransparentBorderColor(getSeries(9),true); setTransparentBorderColor(getSeries(10),true); setDepthRadius(0); setDepthAngle(0); setTransparentBorderColor(getChartBackground(),true); setToolTipDisplay(true); setToolTipMode(false); setUserToolTip("Car:[GL][R][SL]:[YV][R][SL]%:"); setPlace(true); setO1MajorGridDisplay(false); setY1MajorGridDisplay(false); setFillColor(getSeries(0),new Color(255,127,0)); setFillColor(getSeries(1),new Color(35,107,142)); ENDSTYLE END -RUN
Thanks,This message has been edited. Last edited by: Kerry,
This seems to be an involved issue, so please open a case with Customer Support Services for assistance. The phone number is 1-800-736-6130, or access online at InfoResponse.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.