Appearance problem if adding transparent values (Line, Area)
Posted: Tue Jan 20, 2009 10:15 am
Hello
I have a problem with Line (then I replaced it with FastLine which works) and Area class. Appearance properties could not be set if I add transparent value.
for example:
Area area = new Area(tChart1);
area.Brush.Color = Color.Red;
area.Brush.Transparency = 80;
area.AreaLines.Transparency = 90;
area.LinePen.Transparency = 90;
area.AreaLines.Color = Color.Red;
area.Transparency = 80;
area.AreaBrush.Transparency = 80;
After I add transparent values like:
area.Add(new double?[10]);
or
area.Add();
all these properties set before (or set after), became random (and transparent became zero?).
Or is there any other way to set start position of some charts to be moved to the right?
Good example of valid behaviour is Financial function MovingAverage which added to the Line creates blank space for size of period. My custom funcions would like to do the same
Thanks,
Goran
I have a problem with Line (then I replaced it with FastLine which works) and Area class. Appearance properties could not be set if I add transparent value.
for example:
Area area = new Area(tChart1);
area.Brush.Color = Color.Red;
area.Brush.Transparency = 80;
area.AreaLines.Transparency = 90;
area.LinePen.Transparency = 90;
area.AreaLines.Color = Color.Red;
area.Transparency = 80;
area.AreaBrush.Transparency = 80;
After I add transparent values like:
area.Add(new double?[10]);
or
area.Add();
all these properties set before (or set after), became random (and transparent became zero?).
Or is there any other way to set start position of some charts to be moved to the right?
Good example of valid behaviour is Financial function MovingAverage which added to the Line creates blank space for size of period. My custom funcions would like to do the same
Thanks,
Goran