[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

How do you use Multicharts?



Hi

I'm currently trying to create a chart with 2 Y axis'. I'm using 2
arrays (one for Y1 and one for Y2), but I can't get it to work properly.
It only draws the one arrays' data.
Should I use the arrays differently? Only use one array? Am I missing
some other setting? I can't find any help on how to use the Multichart
functionality. Any input, or even better, an example would be
appreciated.

 create-array name=AxisY1
        size=100
        field=cast:char
        field=left:number
 create-array name=AxisY2
        size=100
        field=right:number
 ...
 ! Populate arrays.....
 ...
 print-chart testChart (15, 20)
         type=bar
        data-array = AxisY1
        data-array-column-count = 2
        data-array-row-count = #Count
        y2-type=line
        y2-data-array = AxisY2
        y2-data-array-column-count = 1
        y2-data-array-row-count  = #Count

Oracle 7.3.4
SQR 6.1.3
Unix 11....

Thank You
Wilhelm