Profile Picture

Custom code to add stripes to a floating bar chart

Posted By Clare Moore 13 Years Ago
Author
Message
Clare Moore
Posted 13 Years Ago
View Quick Profile
Junior Member

Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 22, Visits: 1

I am trying to add some stripes to my floating bar chart using custom code.

NAxisStripe s1 = chart.Axis(StandardAxis.PrimaryY).Stripes.Add(2, 3);

s1.FillStyle = new NColorFillStyle(Color.FromArgb(125, Color.SteelBlue));

s1.SetShowAtWall(ChartWallType.Back, true);

 

This doesnt show anything, though if i change the code to Primary X, it does show a horizontal line, I am not sure why I cant get a vertical line to show up.

My other question is, can I access my dataset from the embedded code?  I actually want to highlight sections of activities based on the person who performed the activity, but i am unsure how to go about this or even if this is possible?

 






Similar Topics


Reading This Topic