Whiteangel Posted October 16, 2013 at 06:29 PM Report #529286 Posted October 16, 2013 at 06:29 PM (edited) Como posso dar um titulo ao gráfico (titulo geral), mas não é um titulo ao eixo do X nem do Y, para o X e Y fiz assim: 'define o titulo do eixo x , sua fonte e a cor Chart1.ChartAreas(0).AxisX.Title = "Pessoas" Chart1.ChartAreas(0).AxisX.TitleFont = New Font("Times New Roman", 12, FontStyle.Bold) Chart1.ChartAreas(0).AxisX.TitleForeColor = Color.Blue 'define o titulo do eixo y , sua fonte e a cor Chart1.ChartAreas(0).AxisY.Title = "Numero" Chart1.ChartAreas(0).AxisY.TitleFont = New Font("Times New Roman", 12, FontStyle.Bold) Chart1.ChartAreas(0).AxisY.TitleForeColor = Color.Blue Mas para o titulo geral nao consigo fazer: 'Adicionar título Chart1.ChartArea(0).ChartTitle.Text = "Hello Charting World!" Edited October 17, 2013 at 10:06 AM by ribeiro55
Chamuanza Posted October 17, 2013 at 06:53 PM Report #529480 Posted October 17, 2013 at 06:53 PM Boas Eu no VB2008 tenho assim ' Set chart title Chart1.Titles(0).Text = "?????????????" & ControlChars.Lf & "??????????????" ' Set chart title font Chart1.Titles(0).Font = New Font("Times New Roman", 14, FontStyle.Bold) ' A cor foi activada nas propriedades
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now