Jump to content
Software FX Community

Problems constructing a chart


User (Legacy)

Recommended Posts

When I try to construct a chart:-

this.chart1 = new SoftwareFX.ChartFX.Chart();

It's taking an extremely long time to construct (about 15 seconds).

The first thing I thought of is that it's probably something to do with the

runtime licensing stuff, although I added the chart control using the

winforms VS.NET designer and as I understand it, all the plumbing is

automatically done for you, so this should in theory be right.

Surely this can't be normal... Has anyone experienced this ?

Michael

Link to comment
Share on other sites

What build of the ChartFX.dll assembly are you using ?

Do you experience this in all charts or just the first you create ? Note

that the first time you create a chart, the .NET framework will have to load

our assemblies (ChartFX.dll and ChartFX.base.dll), JIT them and then create

a chart, the first chart will also experience the runtime licensing check

(which we cache so subsequent charts will not check the license in your

process).

--

Regards,

JC

Software FX Support

"Michael Lang" <michael@fusiongrp.com> wrote in message

news:pqHmhkC7CHA.3448@webserver1.softwarefx.com...

> When I try to construct a chart:-

> this.chart1 = new SoftwareFX.ChartFX.Chart();

>

> It's taking an extremely long time to construct (about 15 seconds).

>

> The first thing I thought of is that it's probably something to do with

the

> runtime licensing stuff, although I added the chart control using the

> winforms VS.NET designer and as I understand it, all the plumbing is

> automatically done for you, so this should in theory be right.

>

> Surely this can't be normal... Has anyone experienced this ?

>

> Michael

>

>

Link to comment
Share on other sites

Well it's improved somewhat now that we sorted out the licencing.  We didn't

have our Licx files correctly imbedded in the app.

It's still seems very slow, it's still taking 3-5 secs each time it's

loaded, longer on the first load.

Our ChartFX File version is 6.0.937.27464

The assembly version is 6.0.839.0

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

news:ts0nk8V7CHA.1960@webserver1.softwarefx.com...

> What build of the ChartFX.dll assembly are you using ?

>

> Do you experience this in all charts or just the first you create ? Note

> that the first time you create a chart, the .NET framework will have to

load

> our assemblies (ChartFX.dll and ChartFX.base.dll), JIT them and then

create

> a chart, the first chart will also experience the runtime licensing check

> (which we cache so subsequent charts will not check the license in your

> process).

>

> --

> Regards,

>

> JC

> Software FX Support

> "Michael Lang" <michael@fusiongrp.com> wrote in message

> news:pqHmhkC7CHA.3448@webserver1.softwarefx.com...

> > When I try to construct a chart:-

> > this.chart1 = new SoftwareFX.ChartFX.Chart();

> >

> > It's taking an extremely long time to construct (about 15 seconds).

> >

> > The first thing I thought of is that it's probably something to do with

> the

> > runtime licensing stuff, although I added the chart control using the

> > winforms VS.NET designer and as I understand it, all the plumbing is

> > automatically done for you, so this should in theory be right.

> >

> > Surely this can't be normal... Has anyone experienced this ?

> >

> > Michael

> >

> >

>

>

Link to comment
Share on other sites

OK I've downloaded the latest service packs and recompiled and now it's

speedy as.

Problem solved :)

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

news:ts0nk8V7CHA.1960@webserver1.softwarefx.com...

> What build of the ChartFX.dll assembly are you using ?

>

> Do you experience this in all charts or just the first you create ? Note

> that the first time you create a chart, the .NET framework will have to

load

> our assemblies (ChartFX.dll and ChartFX.base.dll), JIT them and then

create

> a chart, the first chart will also experience the runtime licensing check

> (which we cache so subsequent charts will not check the license in your

> process).

>

> --

> Regards,

>

> JC

> Software FX Support

> "Michael Lang" <michael@fusiongrp.com> wrote in message

> news:pqHmhkC7CHA.3448@webserver1.softwarefx.com...

> > When I try to construct a chart:-

> > this.chart1 = new SoftwareFX.ChartFX.Chart();

> >

> > It's taking an extremely long time to construct (about 15 seconds).

> >

> > The first thing I thought of is that it's probably something to do with

> the

> > runtime licensing stuff, although I added the chart control using the

> > winforms VS.NET designer and as I understand it, all the plumbing is

> > automatically done for you, so this should in theory be right.

> >

> > Surely this can't be normal... Has anyone experienced this ?

> >

> > Michael

> >

> >

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...