ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Custom Round Meter Pointer
Posted by Jamie on Sep-18-2010 01:20
Attachments:
I would like to create a round meter but do not want to use an arrow for the pointer. Instead I would like to use a custom image. Attached is a sample of what I am looking to create. I have an image of just the dial portion of the attached and would like to use it as the pointer.  I will need to be able to move the dial so that it is at the correct value at the top. My plan is to use the round meter and substitute the image of the pointer. However, I can not find a method to change the pointer. Any suggestions?
newdial.png

  Re: Custom Round Meter Pointer
Posted by Peter Kwan on Sep-18-2010 02:11
Hi Jamie,

Unluckily, you cannot use a custom image as a pointer. However, you can use a custom polygon as a pointer. The pointer does not need to start from the center. For example, the polygon can start from the "rim" of your knob handle.

See MeterPointer.setShape and MeterPointer.setShape2 (you may look for them in the ChartDirector documentation index).

Hope this can help.

Regards
Peter Kwan