Skip to main content
10-Marble
Nov 7, 2024 4:02 PM UTC
Solved

Line chart graph cut

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

 

Rocko
RockoAnswer
19-Tanzanite
Nov 8, 2024 7:14 AM UTC

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.

8 replies

Rocko
19-Tanzanite
Nov 8, 2024 6:59 AM UTC

Not enough vertical space available.

Translate
10-Marble
Nov 8, 2024 7:07 AM UTC

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

 

 

Translate
Rocko
Rocko19-TanzaniteAnswer
19-Tanzanite
Nov 8, 2024 7:14 AM UTC

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.

Translate
17-Peridot
Dec 16, 2024 8:42 PM UTC

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

Translate
10-Marble
Dec 17, 2024 12:09 PM UTC

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

Translate