Skip to content

Retina fix #4

@d3signerd

Description

@d3signerd

$scope.generate = function() {
var ctx = element[0].getContext("2d");
ctx.canvas.width = $scope.references.self.width;
ctx.canvas.height = $scope.references.self.height;
$scope.instance = eval('new Chart(ctx).' +attr.isType+ '($scope.data,$scope.options)');
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions