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
ywamtsvywamtsv 

Chart X number of records

I've just started getting into VF and creating my own controllers. 


So far, I have used the example controller and Apex code given by SF from this page for a graph.

 

What I'm wanting to graph, however, can't be static numbers in the controller. 

 

I'm looking to graph the following:

  • Opportunity Based on {this} stage
  • Leads created this week
  • (Custom object) Enrollments, and how many enrollments are within a related list's object.

 

I think getting those three sorted, will help graph anything else I wanted. Any help is much appreciated!