generateColor abstract method

String generateColor(
  1. String name,
  2. int index,
  3. int total
)

Generate a HTML color using the entry index and total elements in the Charts as reference. The name of the Series/Category is supplied for advanced implementations.

Implementation

String generateColor(String name, int index, int total);