User (Legacy) Posted August 20, 2002 Report Share Posted August 20, 2002 cfx.ClearData CD_VALUES I am trying to align my labels with the x-axizs with the example that was given in the post "y axis Align with labels, how to?" It works great when I use a recordset as the data source but when I use an array nothing happens. Here is my code: cfx.Axis(AXIS_Y).Style = cfx.Axis(AXIS_Y).Style Or AS_CENTERED cfx.Axis(AXIS_X).Style = cfx.Axis(AXIS_X).Style Or AS_CENTERED cfx.OpenDataEx COD_VALUES, UBound(arrChartData, 1), UBound(arrChartData, 2) For lngRowCnt = 0 To UBound(arrChartData, 1) - 1 cfx.Series(lngRowCnt).Legend = arrChartData(lngRowCnt, 0) Next lngRowCnt For lngRowCnt = 1 To UBound(arrChartData, 1) For lngColCnt = 1 To UBound(arrChartData, 2) cfx.Axis(AXIS_X).Label(lngColCnt - 1) = arrChartData(0, lngColCnt) cfx.ValueEx(lngRowCnt - 1, lngColCnt - 1) = IIf(IsNull(arrChartData(lngRowCnt, lngColCnt)), 0, arrChartData(lngRowCnt, lngColCnt)) Next lngColCnt Next lngRowCnt cfx.CloseData COD_VALUES I tried putting: cfx.Axis(AXIS_Y).Style = cfx.Axis(AXIS_Y).Style Or AS_CENTERED cfx.Axis(AXIS_X).Style = cfx.Axis(AXIS_X).Style Or AS_CENTERED in multiple places but nothing works. Any ideas? Thanks Daniel Reber Datamasters, Inc Attachments.zip Link to comment Share on other sites More sharing options...
User (Legacy) Posted August 20, 2002 Author Report Share Posted August 20, 2002 I want all of the x-axis labels to be aligned with it's points (correct term?) Right now if the labels don't fit horizontally then the rest are not displayed. I want all of the labels to be displayed. "SoftwareFX Support" <support@softwarefx.com> wrote in message news:wAlB1THSCHA.1060@webserver1.softwarefx.com... > What do you want to get ? what are you getting ? > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted August 20, 2002 Report Share Posted August 20, 2002 What do you want to get ? what are you getting ? -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Software FX Posted August 20, 2002 Report Share Posted August 20, 2002 I don't understand what you want, please send a screenshot of what you get and point out what you would like to have instead. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.