angular-chart.js icon indicating copy to clipboard operation
angular-chart.js copied to clipboard

[QUESTION] Is the display legend exposed?

Open greenygh0st opened this issue 8 years ago • 2 comments

As the title says is the ability to display or not display the legend exposed within the angular directive? The documentation says nothing either way.

greenygh0st avatar Sep 13 '17 21:09 greenygh0st

It's controlled via standard chart.js options.

On 14 Sep. 2017 7:17 am, "Dale Myszewski" [email protected] wrote:

As the title says is the ability to display or not display the legend exposed within the angular directive? The documentation says nothing either way.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jtblin/angular-chart.js/issues/658, or mute the thread https://github.com/notifications/unsubscribe-auth/ABUxrqpoxnLfz4JI5elpeEEr_R6hNuhBks5siEaBgaJpZM4PWvaV .

jtblin avatar Sep 14 '17 00:09 jtblin

Use the chart-options in your markup and set the object in your js. Example:

JS

legenda chartjs

HTML

legend chart marku

fabionofre avatar Sep 25 '17 22:09 fabionofre