Skip to content

Scatter plot data label font size not working #1348

@connect2rohit

Description

@connect2rohit

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions