How to: |
The invert property controls the direction of a numeric axis, ascending or descending.
axisname: { invert: boolean }
where:
Can be:
Specifies whether the axis should be descending. Can be:
The following request draws a descending y-axis:
GRAPH FILE WF_RETAIL_LITE SUM COGS_US BY MODEL WHERE PRODUCT_CATEGORY EQ 'Computers' ON GRAPH PCHOLD FORMAT JSCHART ON GRAPH SET LOOKGRAPH VLINE ON GRAPH SET STYLE * *GRAPH_JS border: {width: 2, color: 'teal'}, blaProperties: {lineConnection: 'curved'}, yaxis: { invert:true } *END ENDSTYLE END
The output is:
WebFOCUS |