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.OpenDataEx(ChartfxLib.CfxCod.COD_COLORS,1,0);

axchart.Series[0].Color = white;

axchart.CloseData(ChartfxLib.CfxCod.COD_COLORS);

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

help with this?

Thanks

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

news:p3J#D0y4CHA.1920@webserver1.softwarefx.com...

> 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

Archived

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

×
×
  • Create New...