Skip to main content
10-Marble
November 7, 2024
Solved

Line chart graph cut

  • November 7, 2024
  • 2 replies
  • 1492 views

Hi Team,

 

I am showing both bar chart mashup and line chart mashup in same container showing same data as below:

 

krishnakomal211_0-1730995159699.png

krishnakomal211_1-1730995194961.png

As you can see Bar chart showing all bars with xaxis labels. Line chart only showing xaxis labels but lines are getting cut.

 

Both labels and lines are part of charts. Any idea why this is happening

 

Best answer by Rocko

It's two different algorithms for drawing and it seems like the line chart was given different minimal sizes. I think there is label rotation available which should give you additional space. Or leave x labels away if they are shown in the popup when hovering over the points.

You can also try to create a ticket for the diverging behavior, so this is fixed, but this will take some time.

2 replies

Rocko
19-Tanzanite
November 8, 2024

Not enough vertical space available.

10-Marble
November 8, 2024

Both x axis labels and graph are part of line chart and bar chart.Labels are showing correctly but graph is not.

 

Both Bar chart and line chart allocated same space. Why only line graph is getting cut but not bar graphs?

 

Anything we can do with the existing space as it is a part of mashup that impacts total layout

 

 

Rocko
Rocko19-TanzaniteAnswer
19-Tanzanite
November 8, 2024

It's two different algorithms for drawing and it seems like the line chart was given different minimal sizes. I think there is label rotation available which should give you additional space. Or leave x labels away if they are shown in the popup when hovering over the points.

You can also try to create a ticket for the diverging behavior, so this is fixed, but this will take some time.

17-Peridot
December 16, 2024

Hello @krishnakomal211 
When you are displaying the chart,  are you displaying the chart at 100% scale? Are all the Chart items as expected?

Regards,
Pehowe

10-Marble
December 17, 2024

I have moved legend to left and now I am able to see full data.Thanks