Profile Picture

how to set private image for MarkerStyle

Posted By CHANGMIN KIM 4 Months Ago
Author
Message
CHANGMIN KIM
Question Posted 4 Months Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 10, Visits: 25
Hi Team,

Is there any way to set specific image or icon(jpeg, png, etc..) as a MarkerStyle for DataPoints ?

Nevron Support
Posted 4 Months Ago
View Quick Profile
Supreme Being

Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 2,879, Visits: 3,045
Hi Changmin,

Yes you can assign an image to a marker using the NImageFillStyle - for example:
   NPointSeries point = new NPointSeries();
    point.Size = new NLength(0);
    point.DataLabelStyle.Visible = false;
    point.MarkerStyle.Visible = true;
    point.MarkerStyle.FillStyle = new NImageFillStyle("c:\\temp\\markerimage.png");
    point.Values.Add(10);
    chart.Series.Add(point);
We hope this helps - let us know if you have any questions.



Best Regards,
Nevron Support Team



CHANGMIN KIM
Posted 4 Months Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 10, Visits: 25
Your answer helped me a lot.

I have one more question.
How can I rotate the DataPoint(NPolarDataPoint) (pin : center of the point) ?

Nevron Support
Posted 4 Months Ago
View Quick Profile
Supreme Being

Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 2,879, Visits: 3,045
Hi Changmin,
Can you please elaborate on this question - we're not sure what exactly you need to accomplish...

Best Regards,
Nevron Support Team



CHANGMIN KIM
Posted 4 Months Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 10, Visits: 25
https://www.nevron.com/forum/uploads/images/c70f81e4-ffe2-4959-ae99-5c49.png
I want to make specific PolarDataPoint which is pinned at the center of it rotate.
Thanks.

Nevron Support
Posted 4 Months Ago
View Quick Profile
Supreme Being

Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 2,879, Visits: 3,045
Hi Changmin,
Unfortunately there is no way to apply a transformation on the marker, however you can use custom painting to draw markers - please take a look at the following example:

All Examples \ Custom Painting
The examples show how to perform custom painting on the chart. 

Let us know if you meet any problems or have any questions.


Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic