Ngx-charts: Ability to add labels on the bars for bar chart

Created on 31 Jul 2017  路  6Comments  路  Source: swimlane/ngx-charts

I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x] support request => Please do not submit support request here

Expected behavior

Hi I was wondering if it would be possible to add labels on the actual bars? similar to this.

https://ibb.co/iQQQ5Q

thanks

Please tell us about your environment:

Mac

  • ngx-charts version: ^6.0.1

    d3": "^4.10.0
@angular/cli: 1.2.6
node: 8.2.1
os: darwin x64
@angular/animations: 4.3.2
@angular/cdk: 2.0.0-beta.8
@angular/common: 4.3.2
@angular/compiler: 4.3.2
@angular/core: 4.3.2
@angular/forms: 4.3.2
@angular/http: 4.3.2
@angular/language-service: 4.3.2
@angular/material: 2.0.0-beta.8
@angular/platform-browser: 4.3.2
@angular/platform-browser-dynamic: 4.3.2
@angular/router: 4.3.2
@angular/cli: 1.2.6
@angular/compiler-cli: 4.3.2

Most helpful comment

@limpep Can you give an example of how did that using CSS?

All 6 comments

Please let me know or give some idea , how to print y-axis value on the bar
exa
image

@limpep have you achieved to do that? This will be a very usefull feature!

@calebeaires I found out that it what I needed could be achieved with CSS. Thanks

@limpep Can you give an example of how did that using CSS?

ah, this is a question than I want to ask, but the answer....

This is supported through the showDataLabel input.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

achimha picture achimha  路  3Comments

Jacquers picture Jacquers  路  3Comments

sjdemoor picture sjdemoor  路  3Comments

NashIlli picture NashIlli  路  3Comments

cfremgen picture cfremgen  路  3Comments