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 plot data label font size not working #1348

Open
connect2rohit opened this issue Aug 3, 2024 · 0 comments
Open

Scatter plot data label font size not working #1348

connect2rohit opened this issue Aug 3, 2024 · 0 comments

Comments

@connect2rohit
Copy link

connect2rohit commented Aug 3, 2024

I am using latest version 3.12.0 and trying to set dataLabelForntSize to 6 which is not working.
Here are my configurations.

const fConfig = {
       ...commonProps,
       showLabel: true,
       lineDataSymbol: 'circle',
       lineSmooth: true,
       lineDataSymbolLineColor: 'ffffff',
       lineDataSymbolSize: 10,
       dataLabelPosition: 'l',
       dataLabelColor: 'FF0000',
       dataLabelBkgrdColors: true,
   	dataLabelFontBold: true,
   	dataLabelFontFace: 'Arial',
   	dataLabelFontItalic: true,
   	dataLabelFontSize: 6,
   }
   slide.addChart(pptx.charts.SCATTER, getChartConfig(completeData), fConfig);

Font size remains 10px—

Screenshot 2024-08-03 at 8 52 24 AM

Also, is it possible to vary the circle sizes with in a scatter plot?

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

1 participant