Page 1 of 1

DCBARGRAPH

Posted: Sun Sep 30, 2018 10:01 am
by Janko
Dear Roger,

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


I would appreciate any hint

Kind regards
JAnko

Re: DCBARGRAPH

Posted: Sun Sep 30, 2018 4:34 pm
by rdonnay
I wrote DCBARGRAPH was written many years ago before Xbase++ supported ActiveX.

It is deprecated and no longer supported.

I recommend that you use DCRMCHART for all of your graphing requirements.

Re: DCBARGRAPH

Posted: Sun Sep 30, 2018 10:28 pm
by Eugene Lutsenko
Let me tell you something. I have come across the fact that ActiveX is not always convenient. It requires installation, and this is not possible on all computers. Not technically, but simply because I don't have administrator access to them. That's why I don't use it. With DCRMCHART I figured it out. DCRMCHART is beautiful in its capabilities. But I had to give him up. Now I draw everything myself without much difficulty as I want: http://lc.kubagro.ru/__AIDOS-X.txt. In this I also widely use the development of Roger, for which I am very grateful. Some examples of graphics are in my articles:

Lutsenko E. V. Theoretical bases of system-cognitive modeling of processes and machines of Agroengineering systems / E. V. Lutsenko // Polythematic network electronic scientific journal of Kuban state agrarian University (scientific journal of Kubgau) [Electronic resource]. – Krasnodar: Kubsau, 2018. - №01 (135). C. 1 – 49. - IDA [article ID]: 1351801001. – Mode of access: http://ej.kubagro.ru/2018/01/pdf/01.pdf, 3,062.p.l.

Lutsenko E. V. Automated system-cognitive analysis in agronomy / E. V. Lutsenko / / Polythematic network electronic scientific journal of Kuban state agrarian University (scientific journal of Kubgau) [Electronic resource]. – Krasnodar: Kubsau, 2018. - №02 (136). S. 87 – 145. - IDA [article ID]: 1361802011. – Mode of access: http://ej.kubagro.ru/2018/02/pdf/11.pdf, 3,688.p.l.

Lutsenko E. V. Automated system-cognitive analysis in veterinary medicine (on the example of the development of diagnostic tests) / E. V. Lutsenko // Polythematic network electronic scientific journal of the Kuban state agrarian University (scientific journal of Kubgau) [Electronic resource]. – Krasnodar: Kubsau, 2018. - №03 (137). P. 143 – 196. - IDA [article ID]: 1371803031. – Mode of access: http://ej.kubagro.ru/2018/03/pdf/31.pdf, 3,375.p.l.

Lutsenko E. V. Agglomerative cognitive clustering of nosological images in veterinary / E. V. Lutsenko // Polythematic network electronic scientific journal of Kuban state agrarian University (scientific journal of Kubgau) [Electronic resource]. – Krasnodar: Kubsau, 2018. - №04 (138). P. 122 – 139. - IDA [article ID]: 1381804033. – Mode of access: http://ej.kubagro.ru/2018/04/pdf/33.pdf, 1,125.p.l.

Lutsenko E. V. Agglomerative cognitive clustering of symptoms and syndromes in veterinary medicine / E. V. Lutsenko // Polythematic network electronic scientific journal of Kuban state agrarian University (scientific journal of Kubgau) [Electronic resource]. – Krasnodar: Kubsau, 2018. - №05 (139). S. 99 – 116. - IDA [article ID]: 1391805033. – Mode of access: http://ej.kubagro.ru/2018/05/pdf/33.pdf, 1,125.p.l.

Lutsenko E. V. Automated system-cognitive analysis of antibiotics in veterinary / E. V. Lutsenko / / Polythematic network electronic scientific journal of Kuban state agrarian University (scientific journal of Kubgau) [Electronic resource]. – Krasnodar: Kubsau, 2018. - №06 (140). P. 171 – 220. - IDA [article ID]: 1401806033. – Mode of access: http://ej.kubagro.ru/2018/06/pdf/33.pdf, 3,125.p.l.

Still many books and articles there is here (need to flip through page down): http://lc.kubagro.ru/aidos/_Aidos-X.htm.

I also advise you to look at the tutorial. In the numerous examples given in it, all the graphics are made with the help of Alaska and eXpress++ without ActiveX:

Lutsenko E. V. , Laptev V. N., Sergeev A. E. System-cognitive modeling in agriculture : proc. manual / E. V. Lutsenko, V. N. Laptev, A. E. Sergeev, Krasnodar : Ecoinvest, 2018. – 518 p. ISBN 978-5-94215-416-5. http://lc.kubagro.ru/aidos/aidos18_LLS/aidos18_LLS.pdf

Re: DCBARGRAPH

Posted: Sun Sep 30, 2018 11:09 pm
by Janko
Roger,
I am sorry to hear that, DCBARGRAPH is simple and easy to use and with little modification it could still be used.
But following your advice I'll switch back to RMCHART.

Best regards
Janko