Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

Dynamically change chart type #89

Open
@alamsha

Description

@alamsha
	<canvas tc-chartjs chart-type="type" chart-data="chartData" chart-options="options" chart="variable">
	</canvas>

$scope.type = 'bar';

In the above code, chart type is not changing from the controller scope. But this works perfectly in angular-chartjs. How can i change the chart type dynamically by clicking a button?. Thanks.

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