Software FX Posted October 18, 2000 Report Share Posted October 18, 2000 Hello, You can not set the size of a marker in pixels since in most cases the user will want the bars to take up the full amount of space available and not have any extra space left over. You could work around this by setting a predetermined amount of bars in every chart and set chart_hidden for each marker that you don't have data for. By doing this you will be able to know the size of each marker every time. Justin Trask Software FX -----Original Message----- From: Benny Soewardi [mailto:bennys@sentire.com] Posted At: Wednesday, October 18, 2000 12:27 PM Posted To: Server Conversation: Gantt Chart Pix Subject: Gantt Chart Pix Hi- Is there a way to control the bar width in gantt chart so that as the data changed the bar width will remain constant ? Currently I need to change the height of the chart everytime the data being passed to chartfx is changing in order to display it properly. For example when I have 3 chart bar I set the height to be : 150 (set chart.GetHtmlTag (550, 150, "Auto") But when I Have 20 chart bar then I need to set the height to something else. If I can set the chart bar width , then I can just multiply that by the number of bar and will always get the proper display everytime. Any idea ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.