loom
1def auto : style = { line : 0, spline : 1, scatter : 2, }
2
3def auto : init = fn (string : title)
4{
5print "#Values:Chart.0.S.init:" + title
6}
7
8def auto : initFixed = fn ( string : title,
9float : x_min,
10float : x_max,
11float : y_min,
12float : y_max)
13{
14print "#Values:Chart.0.S.initFixed:" + title
15+ "/" + x_min
16+ "/" + x_max
17+ "/" + y_min
18+ "/" + y_max
19}
20
21def auto : addSeries = fn (string : series_name, int : series_style)
22{
23print "#Values:Chart.0.S.addSeries:" + series_name + "/" + series_style
24}
25
26def auto : addPoint = fn (string : series_name, float : x, float : y)
27{
28print "#Values:Chart.0.U.addPoint:" + series_name + "/" + x + "/" + y
29}
30
31def auto : show = fn ()
32{
33print "#Values:Chart.0.S.show:"
34}