Using Custom Colors in Sunburst Chart

 In Previous blogs we have created Sunburst Chart, now we will try to add custom color to the same

  • Create a Global array and provide it custom rgb color palette values.

  • Now create a custom function which will return an array value randomly or based on any custom logic, for this example i will be passing the color based on the node’s id value.

  • Replace the old function with the newly created one

  • Now you can see custom colors as per our logic and also these colors will remain static and will not change every time the ui is opened.


Comments

Popular posts from this blog

Mavenize an Oracle ADF Application

Creating Column Filter on a VBCS Table using ListDataProvider(LDP)