function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Saheli ChatterjeeSaheli Chatterjee 

Change Marker Fill colour/Shape of tool tip based on a field value of a record.

Hi ,

My requirement is to display 3 different colours and shapes of Tool Tip based on a certain value of a field (Other that X/Y fields)
Is that feasible through JS?

function renderTooltip(data, item) {

var Data = item.value[1];
var TestData = item.storeItem;

// How to proceed?
}
I'm new to JS and not sure how to proceed with this . Any help ?
I googled this and came across similar questions with no fruitful explanation.