Focal Point
different formats for multiple series in graph

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8861086262

December 21, 2007, 05:39 PM
Stephen
different formats for multiple series in graph
I have 3 series in a simple bar chart. The 1st two series I want to show the text label in 'k' as below, but I would like to show text label the 3rd series as a %. Is there a way I can differentiate the text label formatting between series ?

GRAPH FILE DW_HAWE_SUM_INVOICE_PC_VALL
SUM NET_AMT_EUR_YTD_LY AS 'Net Amount Last Year' NET_AMT_EUR_YTD_TY AS 'Net Amount This Year'
COMPUTE PCT/D12.2=NET_AMT_EUR_YTD_DIFF/NET_AMT_EUR_YTD_LY;
ACROSS CAL_445_MONTH AS 'Period'
BY C_SITE_PRIM_MKT_NAME AS 'Market'
...
setTextFormatPattern(getDataText(),"#");
setTextFormatPreset(getDataText(),7);
setDataTextPosition(1);
...

As it stands, all 3 series have the same text label formatting.

WebFocus 7.6


WebFocus 7.11/7.6
December 21, 2007, 06:14 PM
Stephen
Nevermind - the following works...

setCustomDataText (getSeries (2), true);
setCustomDataText (getSeries (1), true);
setCustomDataText (getSeries (0), true);
setTextFormatPreset(getDataText(2),3);
setTextFormatPreset(getDataText(1),7);
setTextFormatPreset(getDataText(0),7);


WebFocus 7.11/7.6