node-export-server icon indicating copy to clipboard operation
node-export-server copied to clipboard

Text in exported chart is hidden when setting style in chart options

Open Remolutionary opened this issue 6 months ago • 0 comments

I want to report a bug when exporting a chart. As soon as I start to set fontSize in style options the text is completely missing in the export file.

chart: {
        type: 'area',
        zooming: {
            type: 'x'
        },
        panning: true,
        panKey: 'shift',
        scrollablePlotArea: {
            minWidth: 600
        },
        style: {
        	fontSize: '1.1em'
        }
    },

I created a fiddle to reproduce the issue: https://jsfiddle.net/yrsv310n/2/

In browser the chart looks like this:

Image

When exporting as png or jpg it looks like this:

Image

Export in svg format works.

Remolutionary avatar Jun 17 '25 13:06 Remolutionary