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
    47
    Vote Rating
    2
    Baidaly is on a distinguished road

      0  

    Default Scatter series isn't shown on legend click

    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
    Ext.NET - ASP.NET for Ext JS
    MVC and WebForms
    Examples | Twitter

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,329
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      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
    yateam is on a distinguished road

      0  

    Default


    Is there any update on this issue?

Thread Participants: 2

Tags for this Thread