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

Google chart

Can we create a custom component for google chart APIs to reuse the component in multiple places?


Sure. Take a look at Setup > Develop > Components. I've actually previously written a reusable component for Google Charts myself, but I don't have the source for it any more.


Also, have you looked at Visualforce Charting? It's a way to get charts that are rendered natively in the platform, and are far easier to use than Google Charts, since you don't have to convert the data into URL parameters.


can u paste the code here , so that i can understand quickly and no need to spend more time on this