User (Legacy) Posted March 20, 2003 Report Share Posted March 20, 2003 The data on the X-Axis is categorical, they are long strings of names. Using the style property I was able to clear the labels but the chart seems to be appearing with space on the left as follows: So I tried setting the LeftGap value to 0 pixels. ChartFX1.LeftGap = 0; Even that does not work. Can you help ? Thanks, Sri "Blair Allen" <Blair.Allen@infineon.com> wrote in message news:<P$mKLlw7CHA.2576@webserver1.softwarefx.com>... > Is the data that you use for the x-axis numerical or categorical?? I > believe that the ClearLabels method only clears the categorical labels, not > the entire label itself. When you use ClearLabels on a categorical axis, it > prints numbers that represent the data number. If you want to get rid of > any label entirely on a certain axis, use the Style property for the axis. > > ChartFX1.Axis(AXIS_X).Style = AS_HIDETEXT > > That will clear the labels from your x-axis. Then you'll have to also not > show the tick marks if you don't want those either. > > Hope this helps. > > Blair Allen > > > "Sripresanna Narayanasamy" <presannan@ARTHRITIS.ARIZONA.EDU> wrote in > message news:NZBCWbw7CHA.2164@webserver1.softwarefx.com... > > Hi, > > > > I do not want to diplay labels on the X-Axis in Gantt charts and so use > > > > ChartFX1.Axis(AXIS_X).ClearLabels; > > > > But a run time error occurs: > > > > Microsoft JScript runtime (0x800A01B6) > > Object doesn't support this property or method > > > > Can you help ? > > Thanks, > > Sri > > > > > > > > > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.