Profile Picture

Points in Chart

Posted By Priyanka malireddi 12 Years Ago
Author
Message
Priyanka malireddi
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 3, Visits: 1

My requirement is to add Diamond image with violet color as data point in chart.

How can I add my own Image(Diamond) as point i chart.

I want to add my own Image instead of pyramid.

Here is my code:

PointSeries lineFcstHistory = (NPointSeries)chart.Series.Add(SeriesType.Point);

lineFcstHistory.Id = 5;

lineFcstHistory.Name = "History";

lineFcstHistory.PointShape = PointShape.Pyramid;

lineFcstHistory.DataLabelStyle.Visible = false;

lineFcstHistory.BorderStyle.Width = new NLength(1, NGraphicsUnit.Pixel);

lineFcstHistory.BorderStyle.Color = Color.BlueViolet;

lineFcstHistory.FillStyle = new NColorFillStyle(Color.BlueViolet);

lineFcstHistory.Values.FillRandom(rd, 1);

 

Could u suggest us how to do it.






Similar Topics


Reading This Topic