From 55ee7c2bc0575d2e05c52a18dfce757ee2573d2f Mon Sep 17 00:00:00 2001 From: Peter Albert Date: Sun, 2 Aug 2015 18:34:34 +0200 Subject: [PATCH] Added ballonFunction --- amcharts/AmCharts.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amcharts/AmCharts.d.ts b/amcharts/AmCharts.d.ts index 42c5b1b247..647fc6e254 100644 --- a/amcharts/AmCharts.d.ts +++ b/amcharts/AmCharts.d.ts @@ -2155,6 +2155,8 @@ If you do not set properties such as dashLength, lineAlpha, lineColor, etc - val alphaField: string; /** Value balloon color. Will use graph or data item color if not set. */ balloonColor: string; + /** If you set some function, the graph will call it and pass GraphDataItem and AmGraph object to it. This function should return a string which will be displayed in a balloon. */ + balloonFunction(graphDataItem: GraphDataItem, amGraph: AmGraph): string; /** Balloon text. You can use tags like [[value]], [[description]], [[percents]], [[open]], [[category]] [[value]] */ balloonText: string; /** Specifies if the line graph should be placed behind column graphs */