ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Running on .NET core
Posted by David Thielen on May-04-2019 01:15
Hi;

We are trying to run our code on .NET Core and there are some issues in netchartdir. Is there a newer version that is compatible with .NET Core?

If not, is this planned?

thanks - dave

  Re: Running on .NET core
Posted by Peter Kwan on May-06-2019 16:36
Hi David,

I am not too sure of your requirement. In your chart, you have 17 symbols from x = 130 to x = 151. The following x-values have no symbols x = 132, 136, 142, 143, 144, 152, 153.

Do you want to remove x = 152 and x = 153 only? In this case, the chart will be from x = 130 to x = 151, which has a total of 22 x-values.

Or do you want to remove x = 132, 136, 142, 143, 144, 152, 153?

If you want to show only the values with data, then the axis is not "linear". You can use Axis.setLabels instead.

double[] xLabels = {130, 131, 133, 134, 135, 137, 138, 139, 140, 141, 145, 146, 147, 148, 149, 150, 151};
double[] yData = {250, 250, 250, 250, .....};

c.xAxis().setLabels(xLabels);

// Use null for the xData array, or use {0, 1, 2, 3, .... 16} as the xData array
c.addScatterLayer(null, yData, .....);

Hope this can help.

Regards
Peter Kwan

  Re: Running on .NET core
Posted by System Administrator on May-06-2019 18:23
Hi David,

The last message is posted incorrectly. Please ignore it.

The current version of ChartDirector does not support .NET Core.

For the .NET Core, the last time we look at it, it is still too limited to support the code in ChartDirector. We plan to revisit it when Microsoft releases .NET Core 3.0.

Regards
Peter Kwan

  Re: Running on .NET core
Posted by David Thielen on Jul-16-2019 00:39
Hi;

.NET Core 3.0 has its early release out. Have you looked at can you convert to run under it yet?

Also, Microsoft has stated that the future for them is .NET Core and they'll be end of lifeing their version.

thanks - dave

  Re: Running on .NET core
Posted by Peter Kwan on Jul-17-2019 04:27
Hi David,

We have done a preliminary review, and it seems .NET Core 3.0 is sufficient to support ChartDirector. We will definitely try to port ChartDirector to .NET Core 3.0.

Regards
Peter Kwan

  Re: Running on .NET core
Posted by David Thielen on Jul-17-2019 22:23
Fantastic - thanks - dave

ps - can you post here when it's available. Also, if you use IKVM (Jave -> .NET), we're going to be making IKVM 8 .NET Core compatible.