Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2009
    Posts
    15
    Vote Rating
    1
    Answers
    1
    shydreamz is on a distinguished road

      0  

    Default Unanswered: tooltip does not work with chart

    Unanswered: tooltip does not work with chart


    in Ext.chart.series.series class we have properties as tips which as per description say it with display a tooltip but no tip tool is displayed.
    when i digged into touch-chart, sencha-touch-debug js i found no such code for tooltip.
    are we supporting it in chart2, or cant directly copy the Ext.tip code into sencha-touch , will it work

    Code:
    series: [{
                    type: 'column',
    
                    xField: 'name',
                   	yField: ['2008'],
                    axis: ['left'],
                    showInLegend: true,
                    tips: {
    		          trackMouse: true,
    		          width: 140,
    		          height: 28,
    		          renderer: function(storeItem, item) {
    		          	
    //calculate and display percentage on hover
    		            var total = 0;
    store.each(function(rec) {
    		                total += rec.get('data1');
    		            });
    this.setTitle(storeItem.get('name') + ': ' + storeItem.get('2008'));
    		          }
    		        },
                    
    		interactions: [{
                        type: 'panzoom',
                        axes: ['bottom']
                    }]

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    34,107
    Vote Rating
    453
    Answers
    3156
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    I'm thinking that was documentation that shouldn't be there. There is no tooltip class in Sencha Touch.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

Tags for this Thread