|
3D effect rounded meter |
Posted by Balaji on Mar-22-2011 19:29 |
|
Dear Team,
I tried of generate a chart as in the attachment but not able to do ... Is it possible to
generate the chart as in attachment. If so please help me
|
Re: 3D effect rounded meter |
Posted by Peter Kwan on Mar-24-2011 01:28 |
|
Hi Balaji,
If you would like to generate the exact round meter, you may consider to draw an empty round meter using Photoshop or other graphics editor, and use it as the background image of the ChartDirector meter. ChartDirector in this case can be used to draw the scale, labels and the pointer.
Hope this can help.
Regards
Peter Kwan |
Re: 3D effect rounded meter |
Posted by Balaji on Mar-28-2011 15:47 |
|
The AngularMeter.setBgImage expect a string(that ie "image name with path"). My image is
present inside a resource file. How to give the image which is inside the resource file as a
string.
Ex: My image name is "myimage" inside resource file name "Form1.resx"
Thanks & Regards
Balaji. |
Re: 3D effect rounded meter |
Posted by Peter Kwan on Mar-29-2011 00:18 |
|
Hi Balaji,
You would need to save the resource to an image file first (eg. use CBitmap to load the resource, and CImage to save it as a file), and then pass the filename of the image file to ChartDirector.
Hope this can help.
Regards
Peter Kwan |
|