Closed ThoDuyNguyen closed 8 years ago
Hi,
You can use amFunnelChart function :
data('data_funnel')
g1 <- amFunnelChart(dataProvider = data_funnel, startDuration = 0,
labelPosition = 'left', marginLeft = 200, marginRight = 100,
titleField = 'description', valueField = 'value',
balloonText = "[[title]]
[[value]] : [[percents]] %",
labelText = "[[title]]: [[value]]
[[percents]] %")
g1
You can also modify object render by amFunnel :
data('data_funnel')
g2 <-amFunnel(data_funnel)
g2@otherProperties$balloonText <- "[[title]]
[[value]] : [[percents]] %"
g2@otherProperties$labelText <- "[[title]]: [[value]]
[[percents]] %"
g2
Regards, Titouan
That would be a nice solution.
Thank you for the help.
Is there any proper method to display the percentage along side with the numeric value?
My current approach is to calculate the percentage and append them to description column.