Horje
how to textbox anywhere on chart in c# Code Example
how to textbox anywhere on chart in c#
RA = new RectangleAnnotation();
RA.BackColor = Color.LightPink;
RA.Alignment = ContentAlignment.TopLeft;
chart.Annotations.Add(RA);
RaPos();
how to textbox anywhere on chart in c#
void RaPos()
{
    if (RA == null) return;
    ElementPosition LP = chart.Legends[0].Position;
    RA.X = LP.X;
    RA.Y = LP.Bottom + 5;  // 5% below the legend
    RA.Width = LP.Width;
    RA.Height = 100 - LP.Bottom  - 10;  // leave 10% of the remaining space
}




Csharp

Related
asp.net stop page jumping to top on click Code Example asp.net stop page jumping to top on click Code Example
c# moq task return null Code Example c# moq task return null Code Example
cannot access file being used by another process create file Code Example cannot access file being used by another process create file Code Example
Microsoft.ACE.OLEDB.12.0  c# excel first sheet Code Example Microsoft.ACE.OLEDB.12.0 c# excel first sheet Code Example
c# map number range Code Example c# map number range Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10