Creates a JS method to retrieve the color of each object. The method parses the HEX color property of the data object to an rgb color array.

get_color_to_rgb_array(color_property)

Arguments

color_property

property name of data object containing the HEX color

Value

JavaScript code evaluated on the client-side