Hi --
I'm trying to label points on an FL_LINE_CHART. Actually, I just want to
highlight one particular point, so I used
fl_add_chart_value(obj, val, "@square", FL_BLACK);
This works, but the square is drawn up above the line. Since there seems
to be no way to control the position of the square, I thought I'd just
replace it with a downward arrow, "@2->". This showed up as a tiny
almost invisible mark. Then I tried a circle, "@circle", which didn't
show up at all!
I can reproduce the behavior by replacing the fill_in routine in the
demo chartall.c with
void fill_in(FL_OBJECT *ob)
{
int c = FL_BLACK;
fl_add_chart_value(ob,15.0,"@square",++c);
fl_add_chart_value(ob,5.0,"@circle",++c);
fl_add_chart_value(ob,0.0,"@->",++c);
fl_add_chart_value(ob,-10.,"@2->",++c);
fl_add_chart_value(ob,25.0,"item 5",++c);
fl_add_chart_value(ob,12.0,"item 6",++c);
}
Am I not allowed to use symbols, am I doing something else wrong,
or is this a bug? Why did the square work? Can I change its position
vertically with respect to the line?
I'm using xforms 0.81 on an SGI (IRIX 6.2).
Thanks,
Steve
-- -- EMail: stephen.langer@nist.gov Phone: (301) 975-5423 -- -- WWW: http://math.nist.gov/acmd/Staff/SLanger/ Fax: (301) 990-4127 -- -- Mail: Building 820 Room 365; NIST; Gaithersburg, Md 20899-0001 -- _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html Xforms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/