on 10-03-2016 6:35 PM
Hi,
please try to change viz feed uid="timeAxis" to uid="categoryAxis".
Check bindings section in VIZDOCS to get the exact sUid string for each chart type:
Column chart uses valueAxis and categoryAxis.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sravya,
If you need to display a bar chart, type definition should be:
vizType="bar"
Never mind, here a fiddle with working code:
What you have to change is the declaration of chart feeds:
<viz:feeds>
<viz.feeds:FeedItem uid="valueAxis" type="Measure" values="Value" />
<viz.feeds:FeedItem uid="categoryAxis" type="Dimension" values="Model" />
</viz:feeds>
Since column or bar charts accepts only valueAxis for measures and categoryAxis for dimensions.
Regards
Francesco
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.