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

Scatter type doesn't show the labels #481

Open
omarcho opened this issue Aug 6, 2014 · 9 comments
Open

Scatter type doesn't show the labels #481

omarcho opened this issue Aug 6, 2014 · 9 comments
Labels
C-feature-request Category: A feature request or an enhancement

Comments

@omarcho
Copy link

omarcho commented Aug 6, 2014

In spite of line types shows labels, scatter type doesn't show it.
A workaround is possible by using line and changing css:

# chart-id .c3-line {
  stroke-width: 0px;
}

I'm not sure if it is an error.

@masayuki0812
Copy link
Member

Hi, sorry for the late response. Now data label on scatter plot is not supported.

@panchal
Copy link

panchal commented Sep 8, 2015

hi there, any plans on this one enhancement req. or works arounds?

@mikelang919
Copy link

@masayuki0812 are there plans to add this for scatter charts?

@bezenson
Copy link

bezenson commented Jan 3, 2017

Happy New Year :) Also interested in this feature

@ghost
Copy link

ghost commented Jan 25, 2018

+1 definitely interested in this feature.

@ilyaglar
Copy link

+1

@valerylarkovich
Copy link

What is the reason to use here only bar or line data?

c3/src/text.js

Lines 28 to 31 in 9556e38

barOrLineData = $$.barOrLineData.bind($$),
classText = $$.classText.bind($$);
var mainText = $$.main.selectAll('.' + CLASS.texts).selectAll('.' + CLASS.text)
.data(barOrLineData);

I have added scatter data there and it looks good:
image

@huytrongnguyen
Copy link

Hi, sorry for the late response. Now data label on scatter plot is not supported.

@masayuki0812 , do you have a plan to support it in the future. If not then why you don't want to support?

@lx2222
Copy link

lx2222 commented May 27, 2019

@nnnuker how did you add the scatter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: A feature request or an enhancement
Projects
None yet
Development

No branches or pull requests

9 participants