Resize rectanglebar item in RectangleBarSeries

Oystein Bjorke 10 ár síðan 0
This discussion was imported from CodePlex

mohitvashistha wrote at 2013-01-06 12:28:

I want to re-size the rectangles in RectangleBarSeries. Something like this.

 

I am unable to figure out the approach to proceed.

 

I have created a sample application that enable drag and dropping of rectangular I want to move the element when I click in center of rectangle item (as currently done). And want to re-size by clicking on corners as discussed in the code project link.


objo wrote at 2013-01-12 18:23:

Have you seen the "Mouse events" example in the "Example browser".  You find the source in Source\Examples\ExampleLibrary\Examples\MouseEventExamples.cs.

I think you can use a similar approach to resize the rectangles!


mohitvashistha wrote at 2013-01-17 12:07:

I have implemented the same using a resize behavior


objo wrote at 2013-01-22 10:36:

Great :)

Ps. I was scared away from that 2shared web site. Only found .exe download links...