Profile Picture

ShadowStyle with NFloatBarSeries doesn't produce a shadow

Posted By Brian J Warren 14 Years Ago

ShadowStyle with NFloatBarSeries doesn't produce a shadow

Author
Message
Brian J Warren
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 26, Visits: 28

Hello Nevron,

I have a NFloatBarSeries with ShadowStyle settings (please see code following), but I don't see the shadow.  Can you tell me what I may be doing wrong?  For reference, I changed the NFloatBarSeries to a NLineSeries and then a NStockSeries, and had no problem.

Thanks, Brian Warren

 

// Setup Float Bar series
_NewFloatBarSeries = (NFloatBarSeries)chart.Series.Add(SeriesType.FloatBar);
_NewFloatBarSeries .DataLabelStyle.Visible = false;
_NewFloatBarSeries .WidthPercent = 100;
_NewFloatBarSeries .FillStyle = new NColorFillStyle(Color.FromArgb(255, 255, 255, 255));
_NewFloatBarSeries .BorderStyle = new NStrokeStyle(Color.DarkBlue);
_NewFloatBarSeries .Name = "Float Bar";

_NewFloatBarSeries .ShadowStyle.Type = ShadowType.GaussianBlur;
_NewFloatBarSeries .ShadowStyle.Offset = new NPointL(1, 1);
_NewFloatBarSeries .ShadowStyle.FadeLength = new NLength(2);
_NewFloatBarSeries .ShadowStyle.Color = Color.FromArgb(128, 255, 255, 255);






Similar Topics


Reading This Topic