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 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 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? 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`? 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). 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.