Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2415

Summary: OnBeforeDrawPoint callback
Product: HTML5 JavaScript TeeChart Reporter: marc meumann <marc>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: yeray
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description marc meumann 2021-04-22 11:51:15 EDT
new callback, can modify pointer characteristics according to point

eg.
  zoneSeries.onbeforedrawpointer = function(index,pointer)
  { 
    if (index==3)
	{
	  pointer.width = pw; 
	  pointer.height = pw;
	  pointer.format.fill = "red";
	}
	else
	{
	  pointer.width = 15;
	  pointer.height = 15;
	  pointer.format.fill = "green";
	}
  }