Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Microsoft .Net
 Real-Time Graphics Tools for .Net (VB and C#)
 Vertical Marker Moveable

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
sajimenez Posted - 10 Nov 2010 : 18:00:11
Hi, I want that a marker (with MarkerType = ChartObj.MARKER_VLINE) be moveable. How can achieve this?

I set a MoveObj to my Chart:



this.moveObject = new MoveObj(this.chart);
this.moveObject.SetEnable(true);
this.moveObject.SetMoveObjectFilter("GraphObj");
this.chart.SetCurrentMouseListener(moveObject);



and when I create the Marker:



marker.MoveableType = ChartObj.OBJECT_MOVEABLE;



What is I missing?

Thank you.

sajimenez
1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 10 Nov 2010 : 18:44:22
We modified our example program MouseListeners.MoveObjects, adding a vertical cursor right before the marked section.

Marker amarker = new Marker(pTransform1, ChartObj.MARKER_VLINE, x1[5].GetCalendarMsecs(), y1[5], 10.0, ChartObj.PHYS_POS);
chartVu.AddChartObject(amarker);

// This section already in example program.
MoveObj mouselistener = new MoveObj(chartVu );
mouselistener.SetEnable(true);
mouselistener.SetMoveObjectFilter("GraphObj");
chartVu.SetCurrentMouseListener(mouselistener);


The vertical cursor seems to move fine. See if you can duplicate it.



Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07