Jump to content
Software FX Community

Error creating combination chart using .NET chart wizard


User (Legacy)

Recommended Posts

A Web form tab or widget (what ever you call it) is created on the WebForm

design view. The widget has the following text on it: Error Creating

Control - Chart1.

Here are the steps I took to get this error:

-Drag the Chart icon from the Toolbox - Web Forms tab to the design page

(brings up chart FX wizard).

-Select Combination from the dropdown chart gallery list.

-Double click on Bar - Lines image.

-Click next.

-Select Sky color palette

-Click next

-Select arch border style.

-Click on Legends tab

-Click on Show Legend Box

-Click on the bottom position arrow (so the legend is at the base of the

chart)

-Click next

-Enter chart title "Minutes"

-click XAxis tab

-Enter Title "Call Center"

-click next

-click finish

The wizard disappears and I am looking at the control with the error text

described above on the design page for the web form (I attached a screen

shot).

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

news:OhJanwCZEHA.3080@webserver3.softwarefx.com...

> The wizard throws that error when you hit finish ?

>

> Can you please tell us the exact sequence of steps you took to get this

> error ?

>

> --

> FP

> Software FX

>

>

Link to comment
Share on other sites

Contrary to my first post, this is happening with all charts.  When I first

installed ChartFX, I was able to play around with the designer, no problem.

"brandony" <brandony@sorenson.com> wrote in message

news:TS8Zk1DZEHA.3080@webserver3.softwarefx.com...

> A Web form tab or widget (what ever you call it) is created on the WebForm

> design view. The widget has the following text on it: Error Creating

> Control - Chart1.

>

> Here are the steps I took to get this error:

> -Drag the Chart icon from the Toolbox - Web Forms tab to the design page

> (brings up chart FX wizard).

> -Select Combination from the dropdown chart gallery list.

> -Double click on Bar - Lines image.

> -Click next.

> -Select Sky color palette

> -Click next

> -Select arch border style.

> -Click on Legends tab

> -Click on Show Legend Box

> -Click on the bottom position arrow (so the legend is at the base of the

> chart)

> -Click next

> -Enter chart title "Minutes"

> -click XAxis tab

> -Enter Title "Call Center"

> -click next

> -click finish

>

> The wizard disappears and I am looking at the control with the error text

> described above on the design page for the web form (I attached a screen

> shot).

>

>

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

> news:OhJanwCZEHA.3080@webserver3.softwarefx.com...

> > The wizard throws that error when you hit finish ?

> >

> > Can you please tell us the exact sequence of steps you took to get this

> > error ?

> >

> > --

> > FP

> > Software FX

> >

> >

>

>

>

Link to comment
Share on other sites

I tried reinstalling and now when I drag the chart tool onto the design

page, I immediately get the "Error Creating Control - Chart1" widget on my

design page. No wizard. If I try and right click on the widget on my

design screen and select the "Wizard" option from the menu, I get an

exception thrown by the MS Development Environment: "Exception has been

thrown by the target of an invocation". I am very close to the end of the

trial date, but still have sometime. As I said, this was working earlier.

Could it be related to trial expiration? I have submitted the request for

the purchase of your product, but need to continue to develop in the

meantime.

"brandony" <brandony@sorenson.com> wrote in message

news:FCMFMCEZEHA.3152@webserver3.softwarefx.com...

> Contrary to my first post, this is happening with all charts. When I

first

> installed ChartFX, I was able to play around with the designer, no

problem.

>

>

> "brandony" <brandony@sorenson.com> wrote in message

> news:TS8Zk1DZEHA.3080@webserver3.softwarefx.com...

> > A Web form tab or widget (what ever you call it) is created on the

WebForm

> > design view. The widget has the following text on it: Error Creating

> > Control - Chart1.

> >

> > Here are the steps I took to get this error:

> > -Drag the Chart icon from the Toolbox - Web Forms tab to the design page

> > (brings up chart FX wizard).

> > -Select Combination from the dropdown chart gallery list.

> > -Double click on Bar - Lines image.

> > -Click next.

> > -Select Sky color palette

> > -Click next

> > -Select arch border style.

> > -Click on Legends tab

> > -Click on Show Legend Box

> > -Click on the bottom position arrow (so the legend is at the base of the

> > chart)

> > -Click next

> > -Enter chart title "Minutes"

> > -click XAxis tab

> > -Enter Title "Call Center"

> > -click next

> > -click finish

> >

> > The wizard disappears and I am looking at the control with the error

text

> > described above on the design page for the web form (I attached a screen

> > shot).

> >

> >

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

> > news:OhJanwCZEHA.3080@webserver3.softwarefx.com...

> > > The wizard throws that error when you hit finish ?

> > >

> > > Can you please tell us the exact sequence of steps you took to get

this

> > > error ?

> > >

> > > --

> > > FP

> > > Software FX

> > >

> > >

> >

> >

> >

>

>

Link to comment
Share on other sites

Dear Brandon,

I have seen this problem happen in this case and it might be your problem.

You have added a chart then deleted it and are now adding another one.

VS.NET thinks that there is no chart1 object when there really is one in the

codebehind

you will have this in the list of protected global variables when there

clearly isn't a chart on the webform

protected SoftwareFX.ChartFX.Internet.Server.Chart Chart1;

VS.NET chooses the name of the object to Chart and the number 1 but somehow

doesn't realize there is a Chart1 object already declared in the codebehind.

It is obviously a VS.Net issue.

A quick check here is to create a completely new web application and drop a

chart!

Let me know if creating a new project from scratch solves your problem.

It creating a new project works please verify that in your suspicious

project that there is no duplication there.

It cannot have anything to do with the trial nearing end. I am almost

positive it is a project issue.

Hope this helps!

-CJS

"brandony" <brandony@sorenson.com> wrote in message

news:2XW9ZaEZEHA.3152@webserver3.softwarefx.com...

> I tried reinstalling and now when I drag the chart tool onto the design

> page, I immediately get the "Error Creating Control - Chart1" widget on my

> design page. No wizard. If I try and right click on the widget on my

> design screen and select the "Wizard" option from the menu, I get an

> exception thrown by the MS Development Environment: "Exception has been

> thrown by the target of an invocation". I am very close to the end of the

> trial date, but still have sometime. As I said, this was working earlier.

> Could it be related to trial expiration? I have submitted the request for

> the purchase of your product, but need to continue to develop in the

> meantime.

>

> "brandony" <brandony@sorenson.com> wrote in message

> news:FCMFMCEZEHA.3152@webserver3.softwarefx.com...

> > Contrary to my first post, this is happening with all charts. When I

> first

> > installed ChartFX, I was able to play around with the designer, no

> problem.

> >

> >

> > "brandony" <brandony@sorenson.com> wrote in message

> > news:TS8Zk1DZEHA.3080@webserver3.softwarefx.com...

> > > A Web form tab or widget (what ever you call it) is created on the

> WebForm

> > > design view. The widget has the following text on it: Error Creating

> > > Control - Chart1.

> > >

> > > Here are the steps I took to get this error:

> > > -Drag the Chart icon from the Toolbox - Web Forms tab to the design

page

> > > (brings up chart FX wizard).

> > > -Select Combination from the dropdown chart gallery list.

> > > -Double click on Bar - Lines image.

> > > -Click next.

> > > -Select Sky color palette

> > > -Click next

> > > -Select arch border style.

> > > -Click on Legends tab

> > > -Click on Show Legend Box

> > > -Click on the bottom position arrow (so the legend is at the base of

the

> > > chart)

> > > -Click next

> > > -Enter chart title "Minutes"

> > > -click XAxis tab

> > > -Enter Title "Call Center"

> > > -click next

> > > -click finish

> > >

> > > The wizard disappears and I am looking at the control with the error

> text

> > > described above on the design page for the web form (I attached a

screen

> > > shot).

> > >

> > >

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

> > > news:OhJanwCZEHA.3080@webserver3.softwarefx.com...

> > > > The wizard throws that error when you hit finish ?

> > > >

> > > > Can you please tell us the exact sequence of steps you took to get

> this

> > > > error ?

> > > >

> > > > --

> > > > FP

> > > > Software FX

> > > >

> > > >

> > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...