Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radar chart labels #1765

Closed
Nicolas469 opened this issue Nov 5, 2020 · 1 comment
Closed

Radar chart labels #1765

Nicolas469 opened this issue Nov 5, 2020 · 1 comment

Comments

@Nicolas469
Copy link
Contributor

Description

The 'x' row is not treated as the data labels (cfr screenshots).

Steps to check or reproduce

A) Billboard imported in a Angular project with npm i billboard.js

B) Creation of a radar chart:

import bb, { radar as bbRadar } from 'billboard.js';

bb.generate({
  data: {
    x: 'x',
    columns: [
      ['x', 'Data A', 'Data B', 'Data C', 'Data D', 'Data E'],
      ['data1', 330, 350, 200, 380, 150],
      ['data2', 130, 100, 30, 200, 80],
      ['data3', 230, 153, 85, 300, 250]
    ],
    type: bbRadar(),
    labels: true
  },
  bindto: `#chart-${this.chartAreaId}`
});

Result

2020-11-05_151931

Expected result

2020-11-05_151940

@netil netil added the bug label Nov 6, 2020
@netil
Copy link
Member

netil commented Nov 6, 2020

Thanks for the report.

netil added a commit to netil/billboard.js that referenced this issue Nov 6, 2020
Make config's 'data_x' field to be appended on data's option,
to be available for all chart types.

Ref naver#1765
@netil netil closed this as completed in d56ff52 Nov 6, 2020
netil pushed a commit that referenced this issue Nov 11, 2020
## [2.1.4](2.1.3...2.1.4) (2020-11-11)

### Bug Fixes

* **api:** fix tooltip showing when lesser data loaded ([74320cf](74320cf)), closes [#1761](#1761)
* **event:** fix referencing event element ([38568c1](38568c1)), closes [#1752](#1752)
* **gauge:** fix to be consistent max label value ([0c2006f](0c2006f)), closes [#1759](#1759)
* **radar:** fix labels showing on esm usage ([d56ff52](d56ff52)), closes [#1765](#1765)
* **shape:** shape not showing on ie11 ([d1366d1](d1366d1)), closes [#1758](#1758)
* **tooltip:** fix to reset pending events from .show() ([ce8210c](ce8210c)), closes [#1753](#1753)
* **zoom:** fix throwing TypeError during zoom  ([f2787fa](f2787fa)), closes [#1760](#1760)
@netil netil added the released label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants