DCBARGRAPH
Posted: Sun Sep 30, 2018 10:01 am
Dear Roger,
using DCBARGRAPH I encountered a design problem. X and Y axis text are almost unreadable.
I am using your sample from manual:
I would appreciate any hint
Kind regards
JAnko
using DCBARGRAPH I encountered a design problem. X and Y axis text are almost unreadable.
I am using your sample from manual:
Code: Select all
aBarColor := { GRA_CLR_BLUE, GRA_CLR_DARKPINK, GRA_CLR_GREEN }
@ 0,0 DCSTATIC TYPE XBPSTATIC_TYPE_TEXT ;
SIZE 110,4 OBJECT oStaticText ;
COLOR GRA_CLR_BLACK, GRA_CLR_WHITE
@ .5,20 DCSAY {||cNazivT+' '+cMat} SAYSIZE 40,2 FONT '8.Arial Bold' ;
COLOR GRA_CLR_BLACK, GRA_CLR_WHITE GROUP 'GRAPH'
FOR i := 1 TO Len(aCaption)
@ 2.5,i*15 DCSAY aCaption[i] COLOR aBarColor[i] SAYSIZE 0 ;
FONT '8.Arial ' PARENT oStaticText
NEXT
@ 4,2 DCSTATIC TYPE XBPSTATIC_TYPE_TEXT ;
SIZE 120,25 OBJECT oStaticGraph ;
COLOR GRA_CLR_BLACK, GRA_CLR_WHITE
@ 0,0 DCBARGRAPH ;
SIZE 110,21 ;
DATA aGraphData ;
RBDOWN bLbDown ;
LBDOWN bLbDown ;
TEXTFONT '9.Arial' ;
SCALEFONT '8.Arial' ;
TEXTCOLOR { 128, 0, 0 } ;
SCALECOLOR { 128, 0, 0 } ;
BARCOLOR aBarColor ;
TYPE DCGRAPH_TYPE_VERTICAL ;
LINEMARKERS aLineMarkers ;
SCROLLRANGE 12 ;
;//SCROLLBUTTONS ;
FONT '8.Arial Bold' ;
BGCOLOR { 255, 255, 128 } ;
PARENT oStaticGraph ;
OBJECT oGraph
DCGETOPTIONS ;
AUTORESIZE ;
TOOLTIPCOLOR GRA_CLR_BLACK, GRA_CLR_CYAN ;
TOOLTIPFONT '9.Courier'
DCREAD GUI ;
OPTIONS GetOptions ;
TITLE cIme FIT ;
MODAL ;
SETAPPWINDOW
Kind regards
JAnko