d3.dart icon indicating copy to clipboard operation
d3.dart copied to clipboard

method not found: '_proxy'

Open Danyxk opened this issue 9 years ago • 0 comments

Hello,

I've recently got this error when I was trying to create simple TimeScale and attaching it to Axis.

Console:

NoSuchMethodError: method not found: '_proxy' Receiver: Instance of 'TimeScale'

Code:

    var x = new time.TimeScale()
      ..domain([new DateTime(6,1,2016), new DateTime(6,10,2016)])
      ..range([0, width]);

    var xAxis = jssvg.axis()
      ..scale(x) // problem here
      ..orient("bottom")
      ..ticks(TOTAL_EVENTS);

*time and jssvg are linked to their libraries

Is it me I am doing something wrong or some bug in code.

Thanks for any response

Danyxk avatar Dec 13 '16 08:12 Danyxk