private string defaultTooltipLabeler(WMG_Series aSeries, WMG_Node aNode) { // Find out the point value data for this node Vector2 nodeData = aSeries.getNodeValue(aNode); float numberToMult = Mathf.Pow(10f, aSeries.theGraph.tooltipNumberDecimals); string nodeX = (Mathf.Round(nodeData.x * numberToMult) / numberToMult).ToString(); string nodeY = (Mathf.Round(nodeData.y * numberToMult) / numberToMult).ToString(); // Determine the tooltip text to display string textToSet; if (aSeries.seriesIsLine) { //textToSet = "(" + nodeX + ", " + nodeY + ")"; textToSet = nodeX; } else { textToSet = nodeY; } string nodeDataValue = aSeries.getNodeName(aNode); if (aSeries.theGraph.tooltipDisplaySeriesName) { textToSet = aSeries.seriesName + ": " + nodeDataValue; } return(textToSet); }