I would like to set the value label for both bottom and top x axis. When I use ATTR_XAXIS_OFFSET and ATTR_XAXIS_GAIN, the bottom axis is affected. How do I change the value label of the top x axis? Thanks.
You have to set the active axis to be able to modify the top axis. Something like this: SetCtrlAttribute (panelHandle, PANEL_GRAPH, ATTR_ACTIVE_XAXIS, VAL_TOP_XAXIS);