donvari Posted August 17, 2007 Report Share Posted August 17, 2007 Is it possible to change the height of the bars (gant diagram). So that more bars are shown in a diagram. Thanks Quote Link to comment Share on other sites More sharing options...
JuanC Posted August 17, 2007 Report Share Posted August 17, 2007 In a non-scrollable chart the height of the bars using Gallery.Gantt will be calculated using the height of the chart control and the number of bars so that they all fit. To control the whitespace between points you can use the Volume property JuanC Quote Link to comment Share on other sites More sharing options...
donvari Posted August 17, 2007 Author Report Share Posted August 17, 2007 The chart is scrollable (chart.autoscroll=true) but I would like to change the height of the bars. An other question would be: How can I set the position of the scrollbar to the top? Quote Link to comment Share on other sites More sharing options...
donvari Posted August 19, 2007 Author Report Share Posted August 19, 2007 does somebody have a suggestion`? Quote Link to comment Share on other sites More sharing options...
Frank Posted August 19, 2007 Report Share Posted August 19, 2007 chart.AxisX.PixelsPerUnit Controls the number of pixels of each X-Axis unit. A high number will produce tall bars. As for the scrollbar appearing at the top, the scrollbar will appear where the main Y-Axis is. You have two options: You can move the main Y-Axis to the top (chart.AxisY.Position) or Invert the X-Axis (chart.AxisX.Inverted). Quote Link to comment Share on other sites More sharing options...
donvari Posted August 20, 2007 Author Report Share Posted August 20, 2007 Thanks, the hint with .pixelsperunit was useful Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.