| Page 1 of 1 | [ 6 posts ] |
|
How can I display dataTip after rendering chart? By default mouseOver.
|
|
By default, a dataTip message will appear when you mouseover a marker. The message can be formatted through a dataTip method.
http://developer.yahoo.com/yui/charts/#datatip The dataTip function can either be set as a Configuration Attribute in your chart's constructor new YAHOO.widget.LineChart( "myContainer", myDataSource, { xField: "month", series: seriesDef, dataTipFunction: YAHOO.example.myDataTipFunction } ); or through the set method after the chart has loaded mychart.set("dataTipFunction", YAHOO.example.myDataTipFunction); You can listen to the chart's contentReady event to ensure that the chart has loaded before you attempt to set the function. function loadDataTipFunction() { mychart.set("dataTipFunction", YAHOO.example.myDataTipFunction) } mychart.on("contentReady", loadDataTipFunction); Thanks, Tripp |
|
Thank you, I will try.
|
|
I can not. I need as in image (dataTip)
![]() |
|
Oh. I see. That functionality is not available in YUI Charts. If you log it as a feature request, I can address it in a future release.
Thanks, Tripp |
|
Thank you! Of course, I would like to this.
|
| Page 1 of 1 | [ 6 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group