Results 1 to 3 of 3

Thread: Scatter series isn't shown on legend click

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-9280 in 5.0.0.970.
  1. #1
    Sencha User
    Join Date
    Mar 2013
    Location
    Toronto, Canada
    Posts
    86
    Vote Rating
    6
      0  

    Default Scatter series isn't shown on legend click

    REQUIRED INFORMATION


    Ext version tested:

    • Ext 4.2.0.663



    Browser versions tested against:

    • IE9
    • FF19.0



    Description:

    • Scatter series isn't shown on legend click



    Steps to reproduce the problem:

    • Create the Chart with two Scatter series and a legend
    • Click on the legend item to hide series
    • Click again on the same legend item to show hidden series



    The result that was expected:

    • Series become visible



    The result that occurs instead:

    • Series doesn't become visible. Exception thrown:
      TypeError: Ext.chart.Shape[markerConfig.type] is not a function



    Test Case:

    Code:
    Ext.onReady(function () {
        Ext.create("Ext.panel.Panel", {
            height: 600,
            renderTo: Ext.getBody(),
            width: 800,
            items: [{
                    xtype: "chart",
                    legend: {
                        position: "right"
                    },
                    series: [{
                            xField: "Name",
                            yField: "Data1",
                            type: "scatter"
                        }, {
                            xField: "Name",
                            yField: "Data2",
                            type: "scatter"
                        }
                    ],
                    store: {
                        model: Ext.define(Ext.id(), {
                            extend: "Ext.data.Model",
                            fields: [{
                                    name: "Name"
                                }, {
                                    name: "Data1"
                                }, {
                                    name: "Data2"
                                }
                            ]
                        }),
                        data: [{
                                "Name": "January",
                                "Data1": 86.0,
                                "Data2": 61.0
                            }, {
                                "Name": "February",
                                "Data1": 63.0,
                                "Data2": 46.0
                            }, {
                                "Name": "March",
                                "Data1": 20.0,
                                "Data2": 96.0
                            }
                        ]
                    }
                }
            ],
            layout: "fit"
        });
    });

    HELPFUL INFORMATION

    Debugging already done:

    • none



    Additional CSS used:

    • only default ext-all.css



    Operating System:

    • Win7 Pro
    Daulet Urazalinov

    Twitter | LinkedIn

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

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha Premium Member
    Join Date
    Jul 2013
    Posts
    27
    Vote Rating
    0
      0  

    Default

    Is there any update on this issue?

Tags for this Thread

Posting Permissions

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