Skip to main content
Matt Cowell fragte in #Apex
I'm trying to update the chart colors in our company dashboard to match our brand palette.

So, in Sandbox, Developer Mode I've selected Visualforce Component and inserting the following code:

    <apex:chart><colorSet="⌗37241E,⌗94B3C8,⌗4D4E24,⌗BD8025,⌗816A4A,⌗F0E68C"/>

    </apex:chart>

But when I try to save I'm getting an error (problem!) message every single time.

What am I doing wrong??!!

Thanks
1 Antwort
  1. 2. Nov. 2016, 23:28
    The colorset tag is followed as below-

     

    <apex:pieSeries labelField="name" dataField="data1" colorSet="⌗37241E,⌗94B3C8,⌗4D4E24,⌗BD8025,⌗816A4A,⌗F0E68C"/>

    where labelField and dataField are binded to Apex controller.

     
0/9000