Skip to content

An issue with larger series name #686

@sensei-Oogway

Description

@sensei-Oogway

Hello team,
I've tried giving a very large series name as an input for the XYChart using its addseries() function. Which resulted in an UI breakage while displaying the chart. And when I tried to export that chart in a .png format using the BitmapEncoder's saveBitmap function there was no chart in it other than the axes.

Steps to Reproduce:

  1. Create a XYchart using XYChartBuilder().
  2. Use the add series function of the xyChart to provide the seriesName, something quite long.
  3. Use SwingWrapper to display the chart.
  4. And use BitmapEncoder.saveBitmap to export it as PNG

I've attached the image of the displayed chart along with the exported PNG file of the same.
Thanks and Kindly do the needful.
Screenshot 2022-05-13 185535
XYChart1
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AestheticsIssues about how the charts look

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions