Jump to content
Software FX Community

inverted y Axis


User (Legacy)

Recommended Posts

I'm attempting to build a chart that has an inverted y axis and was having

the problem documented in the following knowledge base article:

Q1342135. Axis labels not showing when axis is inverted

Description

When setting axis labels and inverting the axis (assigning a Max value

smaller than the minimum), only the first axis label is shown.

Status

Software FX has confirmed this to be a bug in previous builds of the above

mentioned products. The problem has been fixed in build 16.00.

I then got the latest build, 18, and installed the update. However, I still

continue to have the same problem. The code I am using is below. This code

does work properly when I don't invert the axis, but is only showing one

axis label when I invert it.

chart.Axis(AXIS_Y).Min = dEnd

chart.Axis(AXIS_Y).Max = dStart

chart.Axis(AXIS_Y).LabelValue = -dDifference

chart.Axis(AXIS_Y).STEP = -dDifference

dTemp = dEnd

chart.Axis(AXIS_Y).Label(0) = secToMS(dEnd,"'")

chart.Axis(AXIS_Y).Label(1) = secToMS((dDifference) + dTemp,"'")

chart.Axis(AXIS_Y).Label(2) = secToMS(((dDifference)) * 2 + dTemp,"'")

chart.Axis(AXIS_Y).Label(3) = secToMS(((dDifference)) * 3 + dTemp,"'")

chart.Axis(AXIS_Y).Label(4) = secToMS(((dDifference)) * 4 + dTemp,"'")

chart.Axis(AXIS_Y).Label(5) = secToMS(dStart,"'")

Thanks,

Jonathan Estabrook

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...