How to put subtitles at the bottom of the Chart?

Asked

Viewed 514 times

1

I have been trying to work with Chart in C#.

But now I can’t leave all the subtitles underneath their respective columns.

The image shows that caption 1, 3, 5, 7, 9 and 11 are not appearing, even if they are named.

inserir a descrição da imagem aqui

Does anyone know how to set up for all column captions to appear?

  • Is the project Windows Forms? Please don’t use the tag visual-studio for problems that are not related to the IDE. If you have any questions about what is and what is not an IDE, I refer to reading of this publication.

  • 1

    Maybe this one reply help you;

  • 1

    @Márciocristian Solved, Offer as an answer I think will help more people.

1 answer

2


According to this reply, just set the Interval = 1, because it will force the display of Labels regardless of the sizes.

Ex:

ChartID.Areas("myChartAreaName").AxisX.LabelStyle.Interval = 1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.