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

Charts not showing labels only tool tips #703

Open
3 tasks
mcwebdev opened this issue Jan 9, 2019 · 4 comments
Open
3 tasks

Charts not showing labels only tool tips #703

mcwebdev opened this issue Jan 9, 2019 · 4 comments

Comments

@mcwebdev
Copy link

mcwebdev commented Jan 9, 2019

Overview

Describe the issue. What is the issue and what did you expect?

Please make sure to review and check all of these items:

  • Use latest version of the library
  • Make sure you've included all the dependencies e.g Chart.js, angular, etc.
  • Include a repro case, see below.

Step to reproduce

Ensure you add a link to a plunker, jsbin, or equivalent. Issues without repro steps may be closed immediately.

Here is a jsbin template for convenience.

@mcwebdev
Copy link
Author

mcwebdev commented Jan 9, 2019

Even on the demo pages labels are missing, only tool tips appear.

@rubenstolk
Copy link

+1

@josals
Copy link

josals commented Apr 6, 2019

For me the question lead to an incorrect first impression ...
For labels there is an extra ChartJs plugin, for instance chartjs-plugin-labels.
Look at https://github.com/chartjs/awesome

@RyanDurkin
Copy link

I had to set the legend display option to true even though the docs say the default is true: https://www.chartjs.org/docs/latest/configuration/legend.html

$scope.options = { legend: { display: true } };

<canvas id="bar" class="chart chart-bar" chart-data="data" chart-labels="labels" chart-series="series" chart-options="options"></canvas>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants