User (Legacy) Posted August 23, 2004 Report Share Posted August 23, 2004 I want to show X and Y-axis titles on a histogram but it does not work. I could make it on a boxplot but why not on a histogram. Histogram does not support axis title? If the way to show axis title on a histogram is different from other statistical plots, please let me know how to do it. Thanks. Link to comment Share on other sites More sharing options...
Software FX Posted August 23, 2004 Report Share Posted August 23, 2004 Yes. Histogram supports titles, the trick is that the axis at the bottom of the histogram is not the regular Chart FX X-Axis. To add a title at the bottom or to the side, use the Titles collection, this will make it independent of the gallery type. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted August 23, 2004 Author Report Share Posted August 23, 2004 Thanks for your answer. By the way, could you give me some example codes using the Titles collection to add a title at the bottom or to the side? "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:8uAvMpSiEHA.3888@webserver3.softwarefx.com... > Yes. Histogram supports titles, the trick is that the axis at the bottom of > the histogram is not the regular Chart FX X-Axis. > > To add a title at the bottom or to the side, use the Titles collection, this > will make it independent of the gallery type. > > -- > FP > Software FX > > Link to comment Share on other sites More sharing options...
Software FX Posted August 24, 2004 Report Share Posted August 24, 2004 From the documentation (Programmer's guide - Titles): ' Title at the top of the chart Dim title1 As Title = Chart1.Titles(0) title1.Alignment = System.Drawing.StringAlignment.Center title1.Font = New System.Drawing.Font("Arial", 16.75) title1.Text = "My Chart Title" title1.TextColor = System.Drawing.Color.White title1.BackColor = Color.DarkBlue title1.DrawingArea = False ' Title to the left of the chart Dim title2 As TitleDockable = Chart1.Titles(1) title2.DockArea = DockArea.Left title2.LineAlignment = StringAlignment.Far title2.Font = New System.Drawing.Font("Arial", 10.75) title2.Text = "Sales in Dollars" title2.TextColor = System.Drawing.Color.Black -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.