Jump to content
Software FX Community

Setting colors in VB.NET

User (Legacy)

Recommended Posts

Online support article "Q1381088. How To Set Colors In ChartFX ClientServer

When Using C#"

gives the following example for setting colors in C#

uint white = 16777215;


axchart.Series[0].Color = white;


I have not been able to make this work in VB.NET. Anybody could offer me any

help with this?


Link to comment
Share on other sites

I am using ChartFX Client Server (COM) with VB.NET.

Unfortunately the example in the knowledge base is only for using the COM

component with C#, and it doesn;t seem to be working with VB.NET.

Is it possible to set the colors in VB.NET?

"SoftwareFX Support" <support@softwarefx.com> wrote in message


> Are you using Chart FX for .NET or Chart FX Client Server (COM) ?


> If you are using Chart FX for .NET is even simpler, simply do:


> chart.Series[index].Color = Color.White;


> --

> FP

> Software FX, Inc.



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.

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.


  • Create New...