[Kst] [Bug 163668] New: The properties: Vector x and Vector y are not defined in the VectorView Class

Yiwen Mao yiwenv at live.ca
Tue Jun 10 00:22:10 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=163668         
           Summary: The properties: Vector x and Vector y are not defined in
                    the VectorView Class
           Product: kst
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: scripting
        AssignedTo: kst kde org
        ReportedBy: yiwenv live ca


Version:           1.7.0 (using KDE 4.0.1)
Installed from:    Unspecified
Compiler:          Fedora 6 
OS:                Linux

The properties: Vector x and Vector y are not defined in the VectorView Class

//Use two vectors to construct a vector view:
 kst> a=new Array();
kst> for(var i=0;i<100;i++){a.push(i)};
100
kst> x=new Vector(a)
Vector
kst> y=new Vector(a);
Vector
kst> v=new VectorView(x,y)
VectorView

//get the x vector of v
kst> v.x
undefined

//get the y vector of v
kst> v.y
undefined

v.x and v.y are not defined and therefore can not be used.
e.g
kst> v.x.length
Error: TypeError: Undefined value


More information about the Kst mailing list