Jump to content
Software FX Community

How to fill color vertically


ryanlcs
 Share

Recommended Posts

Got it solved.

Charts.AxisX.Sections.Add(New ChartFX.WebForms.AxisSection(cntCursor + CONST_START_STRIPE, cntCursor + CONST_END_STRIPE, System.Drawing.ColorTranslator.FromWin32(g_VerticalRegions(cntCursor))))

Another small problem, initially I had the font on Axis X set to bold, but somehow, after applied this AxisX.Section, the font on this section become normal rather than bold, the rest on the value remain bold.

Bold setting:

Charts.AxisX.Font = New System.Drawing.Font("Arial", 8.0!, Drawing.FontStyle.Bold)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...