function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
krishnak2krishnak2 

Is it possible to create a bar chart and table in the same component?

Is it possible to create a bar chart and table in the same component?. Something like a dashboard with joined components. If so, please let me know how.

AshlekhAshlekh

Hi ,

 

If you are talking about visualfroce custom component than yes you can create a bar chart and a table.

 

For this you have to read about Component and how compoents work.

http://www.salesforce.com/us/developer/docs/pages/Content/pages_comp_cust.htm

 

And then you have to read about Visualforce Charting

 

http://www.salesforce.com/us/developer/docs/pages/Content/pages_charting_example.htm

http://www.salesforce.com/us/developer/docs/pages/Content/pages_charting_overview.htm

http://www.salesforce.com/us/developer/docs/pages/Content/pages_quick_start_advanced_google_charts.htm#pages_quick_start_advanced_google_charts

 

If this post helps you than please mark it as a solution.

 

Thanks

Ashlekh

krishnak2krishnak2

Thanks for the quick reply. I was talking about having both bar chart and a table in a single dashboard. Is this possible using standard functionality?. Thanks.

AroraAnupAroraAnup

I don't think joint dashboard components (somewhat similar to Joined Reports) are available today natively in Salesforce.com. Standard functionality will not let you have 2 charts in one dashboard components. You may want to explore VF to build something on these lines, but I am quite sure standard functionality does not offer such capability. 

 

Also, do take note that if you are using joined reports, you cannot use them to create a dashboard component. There is an idea also for this feature that has been requested by users - https://success.salesforce.com/answers?id=90630000000ghXBAAY

 

Good luck!