jettro / jettro/c3-angular-directive

Pie chart does not draw if id contains dot (like foo.com)

Open
#141 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
201
Forks
96
PR merge metrics
No merged PRs in 30d

Description

Here is my template:

``` xml






```

In my controller

``` javascript
$scope.piePoints = [{"Other domains": 70, "foo.com": 30, "bar.com": 100}];
$scope.pieColumns = [
{"id": "Other domains", "type": "pie"},
{"id": "foo.com", "type": "pie"},
{"id": "bar.com", "type": "pie"}
];
```

As a result, it draws only **Other domains** as 100%, since it does not see other entries. But it shows all three coulmns in the legend.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.