Jump to content
Software FX Community

Axis Title is not shown in Histogram


User (Legacy)

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...