4

I have copied the code from https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_charting_overview_providing_data_controller_method.htm and haven't changed anything. But the bars don't show in my Visualforce page. Here is how it looks: enter image description here

As you can see, the bar bars don't show. And in the datatable, the data seem to be valid. And I changed the VF page code to use a pieseries instead and it shows successfully. Any suggestions why it is not working?

1 Answer 1

5

Just figured out what is happening here. There is a mistake with the example: it should be xField="Amount" yField="Name". The example reversed it. Changed the code and works for me now.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .