You need to sign in to do that
Don't have an account?
Tanmay Anwekar
Unknown error in <apex:barseries>
Hi Folks,
I am making a bar graph in visualforce page,
<apex:page controller="barcont">
<apex:chart height="400" width="400" data="{!data}">
<apex:legend position="right">
<apex:axis type="Numeric" position="bottom" fields="data1" title="Tasks" grid="true"/>
<apex:axis type="Numeric" position="left" fields="data2" title="user" grid="true"/>
<apex:barSeries title="Tasks" orientation="vertical" axis="right" xField="data1" yField="data2">
<analytics:reportChart/>
<apex:chartTips height="20" width="120"/>
</apex:barSeries>
</apex:legend>
</apex:chart>
</apex:page>
It is showing error "Error: Expected at least 1 series component" , though I have mentioned all required series component. How to get out of it?
I am making a bar graph in visualforce page,
<apex:page controller="barcont">
<apex:chart height="400" width="400" data="{!data}">
<apex:legend position="right">
<apex:axis type="Numeric" position="bottom" fields="data1" title="Tasks" grid="true"/>
<apex:axis type="Numeric" position="left" fields="data2" title="user" grid="true"/>
<apex:barSeries title="Tasks" orientation="vertical" axis="right" xField="data1" yField="data2">
<analytics:reportChart/>
<apex:chartTips height="20" width="120"/>
</apex:barSeries>
</apex:legend>
</apex:chart>
</apex:page>
It is showing error "Error: Expected at least 1 series component" , though I have mentioned all required series component. How to get out of it?