private Widget getHoverText(int seriesIndex, JavaScriptObject object)
	{
		if(series!=null && series.size() > seriesIndex)
		{
			Series<D> s = series.get(seriesIndex);
			
			if(s instanceof LineSeries)
			{
				JSONObject lineDataObject = new JSONObject(object);
				double x = lineDataObject.get("x").isNumber().doubleValue();
				double y = lineDataObject.get("y").isNumber().doubleValue();
				LineSeries l = (LineSeries)s;
				TooltipProvider<Point> provider = l.getTooltipProvider();
				
				if(provider != null)
				{
					Point item = new Point(x, y);
					return provider.getTooltip(item);
				}
			}
			else if(s instanceof PieSeries)
			{
				JSONObject pieDataObject = new JSONObject(object);
				JSONValue percentageVal = pieDataObject.get("percentage");

				double percentage = percentageVal.isNumber().doubleValue();
				PieSeries p = (PieSeries)s;
				TooltipProvider<Slice> observer = p.getTooltipProvider();
				if(observer != null)
				{
					Slice item = new Slice((float)percentage, p.getAbsoluteValue());
					return observer.getTooltip(item);
				}
			}
			else if(s instanceof BarSeries)
			{
				JSONObject barDataObject = new JSONObject(object);
				JSONValue heightVal = barDataObject.get("height");
				JSONValue colVal = barDataObject.get("position");

				double height = heightVal.isNumber().doubleValue();
				double col = colVal.isNumber().doubleValue();
				BarSeries b = (BarSeries)s;
				TooltipProvider<Column> observer = b.getTooltipProvider();
				if(observer != null)
				{
					Column item = new Column(height,(int)col);
					return observer.getTooltip(item);
				}
			}
			
			
		}
		return null;
	}