Jump to content
Software FX Community

Dynamic creation of charts


User (Legacy)

Recommended Posts

I was reading a previous post about the licx resource needing to be embedded

in the assembly and I have a question. I previously been trying to

dynamically create charts in a form when the user select's a data point and

indicates a desire to chart it using the MSChart control. I had problems

mostly because of the ocx state information, which didn't seem to want to

have objects created at runtime. Can I do this with the ChartFX lite? Or

does each object require to be placed on a form at design-time?

As a second note, I've been waiting for the serial number for a couple of

days......

Link to comment
Share on other sites

I was reading a previous post about the licx resource needing to be embedded

in the assembly and I have a question. I previously been trying to

dynamically create charts in a form when the user select's a data point and

indicates a desire to chart it using the MSChart control. I had problems

mostly because of the ocx state information, which didn't seem to want to

have objects created at runtime. Can I do this with the ChartFX lite? Or

does each object require to be placed on a form at design-time?

As a second note, I've been waiting for the serial number for a couple of

days......

Link to comment
Share on other sites

You can create charts dynamically, without placing it at design-time, using

the following code:

Chart1 = new Chart();

Chart1.Parent = this;

Chart1.Location = new Point(10,10); // Your preferred X,Y location

Chart1.Size = new Size(200,200); // Your preferred chart size

We send the serial number as soon as you submit the request. Please check

your email address at www.softwarefx.com/GetChartFXLite and resubmit it.

---

IG

Software FX

"Ken Davis" <davisken@attbi.com> wrote in message

news:gFVIoZ5xBHA.1412@webserver1.softwarefx.com...

> I was reading a previous post about the licx resource needing to be

embedded

> in the assembly and I have a question. I previously been trying to

> dynamically create charts in a form when the user select's a data point

and

> indicates a desire to chart it using the MSChart control. I had problems

> mostly because of the ocx state information, which didn't seem to want to

> have objects created at runtime. Can I do this with the ChartFX lite? Or

> does each object require to be placed on a form at design-time?

>

> As a second note, I've been waiting for the serial number for a couple of

> days......

>

>

Link to comment
Share on other sites

You can create charts dynamically, without placing it at design-time, using

the following code:

Chart1 = new Chart();

Chart1.Parent = this;

Chart1.Location = new Point(10,10); // Your preferred X,Y location

Chart1.Size = new Size(200,200); // Your preferred chart size

We send the serial number as soon as you submit the request. Please check

your email address at www.softwarefx.com/GetChartFXLite and resubmit it.

---

IG

Software FX

"Ken Davis" <davisken@attbi.com> wrote in message

news:gFVIoZ5xBHA.1412@webserver1.softwarefx.com...

> I was reading a previous post about the licx resource needing to be

embedded

> in the assembly and I have a question. I previously been trying to

> dynamically create charts in a form when the user select's a data point

and

> indicates a desire to chart it using the MSChart control. I had problems

> mostly because of the ocx state information, which didn't seem to want to

> have objects created at runtime. Can I do this with the ChartFX lite? Or

> does each object require to be placed on a form at design-time?

>

> As a second note, I've been waiting for the serial number for a couple of

> days......

>

>

Link to comment
Share on other sites

Thanks for info.

I working on a prototype, but if it gets accepted, you can be sure that with

support like this, I'll definitely be looking at the full version.

Resubmitted serial request.

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

news:Bliwrb#xBHA.1412@webserver1.softwarefx.com...

> You can create charts dynamically, without placing it at design-time,

using

> the following code:

>

> Chart1 = new Chart();

> Chart1.Parent = this;

> Chart1.Location = new Point(10,10); // Your preferred X,Y location

> Chart1.Size = new Size(200,200); // Your preferred chart size

>

> We send the serial number as soon as you submit the request. Please check

> your email address at www.softwarefx.com/GetChartFXLite and resubmit it.

>

> ---

> IG

> Software FX

>

>

>

>

> "Ken Davis" <davisken@attbi.com> wrote in message

> news:gFVIoZ5xBHA.1412@webserver1.softwarefx.com...

> > I was reading a previous post about the licx resource needing to be

> embedded

> > in the assembly and I have a question. I previously been trying to

> > dynamically create charts in a form when the user select's a data point

> and

> > indicates a desire to chart it using the MSChart control. I had

problems

> > mostly because of the ocx state information, which didn't seem to want

to

> > have objects created at runtime. Can I do this with the ChartFX lite?

Or

> > does each object require to be placed on a form at design-time?

> >

> > As a second note, I've been waiting for the serial number for a couple

of

> > days......

> >

> >

>

>

Link to comment
Share on other sites

Thanks for info.

I working on a prototype, but if it gets accepted, you can be sure that with

support like this, I'll definitely be looking at the full version.

Resubmitted serial request.

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

news:Bliwrb#xBHA.1412@webserver1.softwarefx.com...

> You can create charts dynamically, without placing it at design-time,

using

> the following code:

>

> Chart1 = new Chart();

> Chart1.Parent = this;

> Chart1.Location = new Point(10,10); // Your preferred X,Y location

> Chart1.Size = new Size(200,200); // Your preferred chart size

>

> We send the serial number as soon as you submit the request. Please check

> your email address at www.softwarefx.com/GetChartFXLite and resubmit it.

>

> ---

> IG

> Software FX

>

>

>

>

> "Ken Davis" <davisken@attbi.com> wrote in message

> news:gFVIoZ5xBHA.1412@webserver1.softwarefx.com...

> > I was reading a previous post about the licx resource needing to be

> embedded

> > in the assembly and I have a question. I previously been trying to

> > dynamically create charts in a form when the user select's a data point

> and

> > indicates a desire to chart it using the MSChart control. I had

problems

> > mostly because of the ocx state information, which didn't seem to want

to

> > have objects created at runtime. Can I do this with the ChartFX lite?

Or

> > does each object require to be placed on a form at design-time?

> >

> > As a second note, I've been waiting for the serial number for a couple

of

> > days......

> >

> >

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...