Results 1 to 3 of 3

Thread: [BUG] Ext-4.2.0.489 Draw Line Chart

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Nov 2008
    Location
    Tehran, Iran
    Posts
    11
    Vote Rating
    0
      0  

    Default [BUG] Ext-4.2.0.489 Draw Line Chart

    Hi,

    There is an bug in drawing a line chart both LTR and RTL mode.
    index variable in this code not defined.

    Code:
    series.getLegendColor(index)
    Code:
        drawLine: function(fromX, fromY, toX, toY, z, seriesStyle) {
            var me = this,
                surface = me.surface,
                series = me.series;
            
            return me.add('line', surface.add({
                type: 'path',
                path: 'M' + fromX + ',' + fromY + 'L' + toX + ',' + toY,
                zIndex: (z || 0) + 2,
                "stroke-width": series.lineWidth,
                "stroke-linejoin": "round",
                "stroke-dasharray": series.dash,
                stroke: seriesStyle.stroke || series.getLegendColor(index) || '#000',
                style: {
                    cursor: 'pointer'
                }
            }));
        },
    Regards

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,412
    Vote Rating
    1287
      0  

    Default

    Can I get a test case I can run locally?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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 in print!

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

  3. #3
    Sencha User
    Join Date
    Nov 2008
    Location
    Tehran, Iran
    Posts
    11
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by mitchellsimoens View Post
    Can I get a test case I can run locally?
    Hi,

    Yes,

    For see 4.1.1a Chart Demo

    http://85.133.205.203:8081/ChartDemo_4.1.x.dll


    For see 4.2.0.489 Chart Demo

    http://85.133.205.203:8081/ChartDemo_4.2.x.dll


    Regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •