Hi, I wrote this for my colleagues to be able to draw spider charts.

; use INCLUDE to resolve dependencies
do http://www.fm.vslib.cz/~ladislav/rebol/include.r

; to be able to INCLUDE the files from Ladislav's page
include/addpath http://www.fm.vslib.cz/~ladislav/rebol/

; define ROUND if needed
if not value? 'round [include %rounding.r]

; define CASE if needed
if not value? 'case [
    include %pif.r
    case: :pif
]

; This is the file necessary to draw spider charts
include %spider.r

; This is a possible usage
view layout build/with [box 600x600 effect [draw [pen black spider [
                size 600x600
                categories ["Category 1" "Category 2" "Category 3" 
"Category 4" "Category 5" "Category 6" "Category 7" "Category 8"]
                data [1 2 3 4 5 6 7 8]
                pen red
                scale 4
                ]
            ]
        ]
] [spider: :spider*]

-L
-- 
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.

Reply via email to