Skip to main content
Matt Cowell 님이 #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개
  1. 2016년 11월 2일 오후 11: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