Reputation: 3908
I am using extjs 5 charts and want to create 3d pie chart. I am using the following code to show legend on the right hand side:
legend: {
docked: 'right',
},
It works in pie series, but not in pie3d.
Can anyone help me to show the legend in 3d pie properly using the following examples: http://dev.sencha.com/extjs/5.0.0/examples/kitchensink/?charts=true#pie-3d http://dev.sencha.com/extjs/5.0.0/examples/kitchensink/?charts=true#pie-basic
As can be seen, even example page does not provide legend for 3d pie chart, so I think there must be something wrong.
Upvotes: 1
Views: 1386
Reputation: 14
I created an app with sencha cmd, included "sencha-charts" package in the required fields in app.json
added some static data with the code from the kitchen sink example app. in app->view->main
Built the app using Cmd. sencha app watch.
This is what my app looks like (since I have docked the legend on the right:
please post your entire code so i can take a look. Ask if you need some further help with this example.
PS: If you look at the sencha sample app from the kitchen sink, the legend is docked at the bottom of the page and can be seen upon scrolling down.
The 3d pie app is just a sample to show that legend displays fine.
Upvotes: -1
Reputation: 14
This is the 3d pie chart code screen shot and the screen shot of the deployed project.
Upvotes: -1