You need to sign in to do that
Don't have an account?
Visualforce Charting: Steps attribute in <Apex:axis /> being ignored
So I'm using Visualforce Charting to display a Gauge on a dashboard. I have everything pulling and working, except I want to reduce the number of "ticks" on the gauge.
According to the documentation, the "Steps" attribute on the <apex:axis /> controls the steps on the chart when specified.Regardless of the integer I specify in the attribute I always see 10 steps + the Maximum value.
Am I doing something wrong, misunderstanding the purpose of steps, or there something else going on here?
According to the documentation, the "Steps" attribute on the <apex:axis /> controls the steps on the chart when specified.Regardless of the integer I specify in the attribute I always see 10 steps + the Maximum value.
Am I doing something wrong, misunderstanding the purpose of steps, or there something else going on here?
<apex:chart height="250" width="350" animate="true" data="{!MyGaugeData}" name="ThisChart"> <apex:axis type="Gauge" position="gauge" title="{!Percent}% {!title}" minimum="0" maximum="{!QuotaAmount}" steps="5"/> <apex:gaugeSeries dataField="size" donut="50" colorSet="#78c953,#ddd"/> </apex:chart>
steps only applies when the type = "numeric"
All Answers
steps only applies when the type = "numeric"