ronin
May 29th, 2001, 06:13 AM
i want to draw 3 lines all passing throught the origin and color the regions between the lines (bands) differently. later i want the graph to display points as well whose co-ordinates are taken from a database.
i have tried using MS Chart Control for this purpose but i faced the following problems.
if i specified the chart style as Area or Line then i am unable to draw the bands in the chart as it draws the graph across multiple rows instead of one row which is what i want and i get a straight line graph if i specify no. of rows as one.
if on the other hand, i specify XY scatter then i can draw the bands but i cannot fill them.
i have tried using MS Chart Control for this purpose but i faced the following problems.
if i specified the chart style as Area or Line then i am unable to draw the bands in the chart as it draws the graph across multiple rows instead of one row which is what i want and i get a straight line graph if i specify no. of rows as one.
if on the other hand, i specify XY scatter then i can draw the bands but i cannot fill them.