Hey,
I'm using and GanttView and looking for a way to use the available space dynamically. At the moment you can specify how much time is displayed and scale the time per pixel ratio (PixelLength). It would be nice to have a way of setting time/pixel to auto, so that it displays the whole visible range in the timeline part of the control.
At the moment I could only get this working by doing some kind of calculation. I need to get the RenderSize of the whole control subtract the fixed columns width to get the remaining space. Finally I have to divide VisibleRange's ticks by this number, to get the scaling right. This is not that heavy calculation but it would be cool if you could add that possibility to the component. Especially as you are forced to fix the column's size! I think there is more than one person, who would like that to be implemented.
Thank you in advance.
Best regards,
Peter Schmidt
I'm using and GanttView and looking for a way to use the available space dynamically. At the moment you can specify how much time is displayed and scale the time per pixel ratio (PixelLength). It would be nice to have a way of setting time/pixel to auto, so that it displays the whole visible range in the timeline part of the control.
At the moment I could only get this working by doing some kind of calculation. I need to get the RenderSize of the whole control subtract the fixed columns width to get the remaining space. Finally I have to divide VisibleRange's ticks by this number, to get the scaling right. This is not that heavy calculation but it would be cool if you could add that possibility to the component. Especially as you are forced to fix the column's size! I think there is more than one person, who would like that to be implemented.
Thank you in advance.
Best regards,
Peter Schmidt