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,556
    Vote Rating
    1272
      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! Checkout the CODE tag!

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

  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
  •