By adding a childIds array to the initial options for the XY Panel,
allow the dots to display custom ID strings.
Example:
var xy = new Interface.XY({
childWidth: 50,
numChildren: 6,
childIds: ['A', 'B', 'C'], // the first three should display letters
background:"#111",
fill: "rgba(127,127,127,.2)",
bounds:[0,0,.6,1],
});
By adding a
childIds
array to the initial options for the XY Panel, allow the dots to display custom ID strings.Example: