October 2, 2023

PureSourceCode

All technologies, only pure source code

Forum

Share:
Notifications
Clear all

Is it possible to add Scale title for X & Y axis? (I mean title for the axis, that appears on or beside the axis, not for the dataset)

2 Posts
2 Users
1 Likes
401 Views
(@mut9bu)
Eminent Member
Joined: 11 months ago
Posts: 20
Topic starter  

Is it possible to add Scale title for X & Y axis? (I mean title for the axis, that appears on or beside the axis, not for the dataset)


   
Quote
(@enrico)
Member Admin
Joined: 4 years ago
Posts: 151
 

Yes, you can add in each axes a AxesTitle like

Scales = new Dictionary<string, Axis>()
{
    {
        Scales.YAxisId, new Axis()
        {
            Stacked = true,
            Title = new AxesTitle()
            {
                Display = true,
                Text = "This is an Y title"
            }
        }
    }
}

   
mut9bu reacted
ReplyQuote
Share: