Hi,
We have created a histogram chart in our project using a composite chart type(using a Stacked Column chart) and a line chart for displaying the annotations.We need to create a component using which we can select regions in the chart using the mouse click and move events..
Please find attached the files containing screen shots of the specific requirements.I would request you to kindly provide us a solution for the same at the earliest.I am using infragistics 7.3 Ultrawinchart component.
As I am using the component for the first time it would be helpful if you could send me some code snippet for the solution as well.
Thanks and Regards,Uday
Hello uday
Did you find a solution for this issue? Can you share it?
please refer to this thread: http://forums.infragistics.com/forums/p/14524/55629.aspx#55629
Hi David,
Thanks for the mail. Actually I am able to create a box primitive on mouse down and move events. I am struggling to be able to drag the bounds or pan the primitive. As I am new to this control request you to please help me.
Regards,Uday
i would add a Box primitive in the FillSceneGraph event handler. adding a BoxAnnotation is easier, but you have slightly less control using an annotation.
the drag functionality isn't provided as a feature of the chart, so you will need to store the box's position somewhere and test for it in the MouseDown handler.
Thanks for your help. I have one query. As you may be aware of my requirement.Referring to the image in the mail chain above. Should I use a Box primitive or a box annotation for drawing the region or simply draw a rectangle.
Also, is it possible to have a drag functionality for each side of a box in order to resize it.
Request you to kindly help me with the same.
Regards,
Uday