Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Feb 2008
    Location
    Poland
    Posts
    47
    Vote Rating
    1
    Antronak is on a distinguished road

      0  

    Default [INFOREQ][4.0.0] Chart serie tips width not calculated automatically

    [INFOREQ][4.0.0] Chart serie tips width not calculated automatically


    Hi,

    Width of displayed tip in chart serie should be calculated automatically when 'width' config option is missing. I have several text with different width and I don't want to set fixed width for all tips.

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    15,087
    Vote Rating
    97
    evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold

      0  

    Default


    Care to post a test case that demonstrates this? Tips should automatically size themselves, this isn't something that is chart specific.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User
    Join Date
    Feb 2008
    Location
    Poland
    Posts
    47
    Vote Rating
    1
    Antronak is on a distinguished road

      0  

    Default


    Hi,

    Please look at ExtJS example "examples/charts/Bar.html" and remove "width" & "height" config options. Tips aren't sized automatically in this case.

    Code:
                series: [{
                    type: 'bar',
                    axis: 'bottom',
                    highlight: true,
                    tips: {
                      trackMouse: true,
                      //width: 140,
                      //height: 28,
                      renderer: function(storeItem, item) {
                        this.setTitle(storeItem.get('name') + ': ' + storeItem.get('data1') + ' views');
                      }
                    },
                    label: {
                      display: 'insideEnd',
                        field: 'data1',
                        renderer: Ext.util.Format.numberRenderer('0'),
                        orientation: 'horizontal',
                        color: '#333',
                      'text-anchor': 'middle'
                    },
                    xField: 'name',
                    yField: ['data1']
                }]

  4. #4
    Sencha User
    Join Date
    Feb 2008
    Location
    Poland
    Posts
    47
    Vote Rating
    1
    Antronak is on a distinguished road

      0  

    Default


    Hi,

    Problem still occures [4.0.1]. Will it be corrected?

  5. #5
    Sencha User
    Join Date
    Feb 2008
    Location
    Poland
    Posts
    47
    Vote Rating
    1
    Antronak is on a distinguished road

      0  

    Default


    [4.0.2] RC - problem still occurs. So, will it be fixed?

  6. #6
    Ext JS Premium Member powellke's Avatar
    Join Date
    Sep 2008
    Location
    Huntsville, AL
    Posts
    37
    Vote Rating
    4
    powellke is on a distinguished road

      0  

    Default


    Still a problem in 4.1.3.

  7. #7
    Sencha User
    Join Date
    Jun 2008
    Posts
    104
    Vote Rating
    4
    jchau is on a distinguished road

      0  

    Default


    Also not fixed in 4.2. The title shows INFOREQ so what info does Sencha still need?

  8. #8
    Sencha User
    Join Date
    Mar 2013
    Posts
    1
    Vote Rating
    0
    ndembskaya is on a distinguished road

      0  

    Default


    please, fix it!

Similar Threads

  1. [INFOREQ]Ext JS 4.0 Beta 3, Chart added event
    By aleksejs.goremikins in forum Ext:Bugs
    Replies: 1
    Last Post: 21 Apr 2011, 4:13 PM
  2. Replies: 1
    Last Post: 1 Apr 2011, 10:41 AM
  3. [FIXED] Column chart doesn't show hover tips
    By themightychris in forum Ext:Bugs
    Replies: 1
    Last Post: 9 Mar 2011, 10:21 AM
  4. Replies: 2
    Last Post: 3 Mar 2011, 5:55 PM