Jump to content
Software FX Community

Lite and C#


User (Legacy)

Recommended Posts

Yes it supports C# (It is actually developed in C#). We ship VB samples

because most of our customers use VB but it should only be a matter of

adding semicolons and changing indexers from the vb syntax () to the C#

syntax [];

--

Regards,

JC

Software FX Support

"Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> Hi,

>

> Does ChartFX Lite supports C#???

>

> Thanx in advance...

>

>

Link to comment
Share on other sites

Yes it supports C# (It is actually developed in C#). We ship VB samples

because most of our customers use VB but it should only be a matter of

adding semicolons and changing indexers from the vb syntax () to the C#

syntax [];

--

Regards,

JC

Software FX Support

"Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> Hi,

>

> Does ChartFX Lite supports C#???

>

> Thanx in advance...

>

>

Link to comment
Share on other sites

Hi to the supporter,

If it is possible can you post a line chart example to the post? Because i

know nothing about vb...

Thanx...

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

news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> Yes it supports C# (It is actually developed in C#). We ship VB samples

> because most of our customers use VB but it should only be a matter of

> adding semicolons and changing indexers from the vb syntax () to the C#

> syntax [];

>

> --

> Regards,

>

> JC

> Software FX Support

> "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > Hi,

> >

> > Does ChartFX Lite supports C#???

> >

> > Thanx in advance...

> >

> >

>

>

Link to comment
Share on other sites

Hi to the supporter,

If it is possible can you post a line chart example to the post? Because i

know nothing about vb...

Thanx...

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

news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> Yes it supports C# (It is actually developed in C#). We ship VB samples

> because most of our customers use VB but it should only be a matter of

> adding semicolons and changing indexers from the vb syntax () to the C#

> syntax [];

>

> --

> Regards,

>

> JC

> Software FX Support

> "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > Hi,

> >

> > Does ChartFX Lite supports C#???

> >

> > Thanx in advance...

> >

> >

>

>

Link to comment
Share on other sites

chart1.Gallery = Gallery.Lines;

chart1.OpenData(COD.Values,2,10);

for(int i = 0; i< 2; i++)

for(int j = 0; j< 10; j++)

chart1.Value[i,j] = (i*10) + j;

chart1.CloseData(COD.Values);

--

Regards,

JC

Software FX Support

"Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> Hi to the supporter,

>

> If it is possible can you post a line chart example to the post? Because i

> know nothing about vb...

>

> Thanx...

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

> news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > Yes it supports C# (It is actually developed in C#). We ship VB samples

> > because most of our customers use VB but it should only be a matter of

> > adding semicolons and changing indexers from the vb syntax () to the C#

> > syntax [];

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > Hi,

> > >

> > > Does ChartFX Lite supports C#???

> > >

> > > Thanx in advance...

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

chart1.Gallery = Gallery.Lines;

chart1.OpenData(COD.Values,2,10);

for(int i = 0; i< 2; i++)

for(int j = 0; j< 10; j++)

chart1.Value[i,j] = (i*10) + j;

chart1.CloseData(COD.Values);

--

Regards,

JC

Software FX Support

"Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> Hi to the supporter,

>

> If it is possible can you post a line chart example to the post? Because i

> know nothing about vb...

>

> Thanx...

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

> news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > Yes it supports C# (It is actually developed in C#). We ship VB samples

> > because most of our customers use VB but it should only be a matter of

> > adding semicolons and changing indexers from the vb syntax () to the C#

> > syntax [];

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > Hi,

> > >

> > > Does ChartFX Lite supports C#???

> > >

> > > Thanx in advance...

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

Thanx...

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

news:ujQNwez7CHA.1564@webserver1.softwarefx.com...

> chart1.Gallery = Gallery.Lines;

>

> chart1.OpenData(COD.Values,2,10);

> for(int i = 0; i< 2; i++)

> for(int j = 0; j< 10; j++)

> chart1.Value[i,j] = (i*10) + j;

> chart1.CloseData(COD.Values);

>

> --

> Regards,

>

> JC

> Software FX Support

> "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > Hi to the supporter,

> >

> > If it is possible can you post a line chart example to the post? Because

i

> > know nothing about vb...

> >

> > Thanx...

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

> > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > Yes it supports C# (It is actually developed in C#). We ship VB

samples

> > > because most of our customers use VB but it should only be a matter of

> > > adding semicolons and changing indexers from the vb syntax () to the

C#

> > > syntax [];

> > >

> > > --

> > > Regards,

> > >

> > > JC

> > > Software FX Support

> > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > Hi,

> > > >

> > > > Does ChartFX Lite supports C#???

> > > >

> > > > Thanx in advance...

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

Thanx...

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

news:ujQNwez7CHA.1564@webserver1.softwarefx.com...

> chart1.Gallery = Gallery.Lines;

>

> chart1.OpenData(COD.Values,2,10);

> for(int i = 0; i< 2; i++)

> for(int j = 0; j< 10; j++)

> chart1.Value[i,j] = (i*10) + j;

> chart1.CloseData(COD.Values);

>

> --

> Regards,

>

> JC

> Software FX Support

> "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > Hi to the supporter,

> >

> > If it is possible can you post a line chart example to the post? Because

i

> > know nothing about vb...

> >

> > Thanx...

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

> > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > Yes it supports C# (It is actually developed in C#). We ship VB

samples

> > > because most of our customers use VB but it should only be a matter of

> > > adding semicolons and changing indexers from the vb syntax () to the

C#

> > > syntax [];

> > >

> > > --

> > > Regards,

> > >

> > > JC

> > > Software FX Support

> > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > Hi,

> > > >

> > > > Does ChartFX Lite supports C#???

> > > >

> > > > Thanx in advance...

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

Hi there,

I made my main like:

static void Main()

{

SoftwareFX.ChartFX.Lite.Chart chart1 = new

SoftwareFX.ChartFX.Lite.Chart();

chart1.Gallery = Gallery.Lines;

chart1.OpenData(COD.Values,2,10);

for(int i = 0; i< 2; i++)

for(int j = 0; j< 10; j++)

chart1.Value[i,j] = (i*10) + j;

chart1.CloseData(COD.Values);

Application.Run(new Form1());

}

but i get errors about Gallery...

"Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> Hi to the supporter,

>

> If it is possible can you post a line chart example to the post? Because i

> know nothing about vb...

>

> Thanx...

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

> news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > Yes it supports C# (It is actually developed in C#). We ship VB samples

> > because most of our customers use VB but it should only be a matter of

> > adding semicolons and changing indexers from the vb syntax () to the C#

> > syntax [];

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > Hi,

> > >

> > > Does ChartFX Lite supports C#???

> > >

> > > Thanx in advance...

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

Hi there,

I made my main like:

static void Main()

{

SoftwareFX.ChartFX.Lite.Chart chart1 = new

SoftwareFX.ChartFX.Lite.Chart();

chart1.Gallery = Gallery.Lines;

chart1.OpenData(COD.Values,2,10);

for(int i = 0; i< 2; i++)

for(int j = 0; j< 10; j++)

chart1.Value[i,j] = (i*10) + j;

chart1.CloseData(COD.Values);

Application.Run(new Form1());

}

but i get errors about Gallery...

"Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> Hi to the supporter,

>

> If it is possible can you post a line chart example to the post? Because i

> know nothing about vb...

>

> Thanx...

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

> news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > Yes it supports C# (It is actually developed in C#). We ship VB samples

> > because most of our customers use VB but it should only be a matter of

> > adding semicolons and changing indexers from the vb syntax () to the C#

> > syntax [];

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > Hi,

> > >

> > > Does ChartFX Lite supports C#???

> > >

> > > Thanx in advance...

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

I wrote my code assuming you would add

using SoftwareFX.ChartFX.Lite;

--

Regards,

JC

Software FX Support

"Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

news:QuRR1B17CHA.1564@webserver1.softwarefx.com...

> Hi there,

>

> I made my main like:

>

>

> static void Main()

> {

>

> SoftwareFX.ChartFX.Lite.Chart chart1 = new

> SoftwareFX.ChartFX.Lite.Chart();

>

> chart1.Gallery = Gallery.Lines;

>

> chart1.OpenData(COD.Values,2,10);

> for(int i = 0; i< 2; i++)

> for(int j = 0; j< 10; j++)

> chart1.Value[i,j] = (i*10) + j;

> chart1.CloseData(COD.Values);

>

> Application.Run(new Form1());

>

> }

>

> but i get errors about Gallery...

>

> "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > Hi to the supporter,

> >

> > If it is possible can you post a line chart example to the post? Because

i

> > know nothing about vb...

> >

> > Thanx...

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

> > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > Yes it supports C# (It is actually developed in C#). We ship VB

samples

> > > because most of our customers use VB but it should only be a matter of

> > > adding semicolons and changing indexers from the vb syntax () to the

C#

> > > syntax [];

> > >

> > > --

> > > Regards,

> > >

> > > JC

> > > Software FX Support

> > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > Hi,

> > > >

> > > > Does ChartFX Lite supports C#???

> > > >

> > > > Thanx in advance...

> > > >

> > > >

> > >

> > >

> >

> >

>

>

post-2107-1392238761108_thumb.jpg

Link to comment
Share on other sites

I wrote my code assuming you would add

using SoftwareFX.ChartFX.Lite;

--

Regards,

JC

Software FX Support

"Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

news:QuRR1B17CHA.1564@webserver1.softwarefx.com...

> Hi there,

>

> I made my main like:

>

>

> static void Main()

> {

>

> SoftwareFX.ChartFX.Lite.Chart chart1 = new

> SoftwareFX.ChartFX.Lite.Chart();

>

> chart1.Gallery = Gallery.Lines;

>

> chart1.OpenData(COD.Values,2,10);

> for(int i = 0; i< 2; i++)

> for(int j = 0; j< 10; j++)

> chart1.Value[i,j] = (i*10) + j;

> chart1.CloseData(COD.Values);

>

> Application.Run(new Form1());

>

> }

>

> but i get errors about Gallery...

>

> "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > Hi to the supporter,

> >

> > If it is possible can you post a line chart example to the post? Because

i

> > know nothing about vb...

> >

> > Thanx...

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

> > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > Yes it supports C# (It is actually developed in C#). We ship VB

samples

> > > because most of our customers use VB but it should only be a matter of

> > > adding semicolons and changing indexers from the vb syntax () to the

C#

> > > syntax [];

> > >

> > > --

> > > Regards,

> > >

> > > JC

> > > Software FX Support

> > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > Hi,

> > > >

> > > > Does ChartFX Lite supports C#???

> > > >

> > > > Thanx in advance...

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

ok then i modify the code with your suggestions now the errors gone but i

get a single error in debugging which is:

C:\C#\WindowsApplication5\licenses.licx Could not transform licenses file

'licenses.licx' into a binary resource. The format of the file 'lc.exe' is

invalid.

Not: i copy the dll to my C:\C#\WindowsApplication5 directory...

and if i continue to compile(ignore the message) the code runs and form

appear but the chart isn't line, it is still in default(bar chart)???

using System;

using System.Drawing;

using System.Collections;

using System.ComponentModel;

using System.Windows.Forms;

using System.Data;

using SoftwareFX.ChartFX.Lite;

namespace WindowsApplication5

{

/// <summary>

/// Summary description for Form1.

/// </summary>

public class Form1 : System.Windows.Forms.Form

{

private SoftwareFX.ChartFX.Lite.Chart chart1;

/// <summary>

/// Required designer variable.

/// </summary>

private System.ComponentModel.Container components = null;

public Form1()

{

//

// Required for Windows Form Designer support

//

InitializeComponent();

//

// TODO: Add any constructor code after InitializeComponent call

//

}

/// <summary>

/// Clean up any resources being used.

/// </summary>

protected override void Dispose( bool disposing )

{

if( disposing )

{

if (components != null)

{

components.Dispose();

}

}

base.Dispose( disposing );

}

#region Windows Form Designer generated code

/// <summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// </summary>

private void InitializeComponent()

{

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

this.SuspendLayout();

//

// chart1

//

this.chart1.Location = new System.Drawing.Point(208, 168);

this.chart1.Name = "chart1";

this.chart1.Size = new System.Drawing.Size(352, 248);

this.chart1.TabIndex = 0;

//

// Form1

//

this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

this.ClientSize = new System.Drawing.Size(696, 501);

this.Controls.AddRange(new System.Windows.Forms.Control[] {

this.chart1});

this.Name = "Form1";

this.Text = "Form1";

this.ResumeLayout(false);

}

#endregion

/// <summary>

/// The main entry point for the application.

/// </summary>

[sTAThread]

static void Main()

{

SoftwareFX.ChartFX.Lite.Chart chart1 = new

SoftwareFX.ChartFX.Lite.Chart();

chart1.Gallery = Gallery.Lines;

chart1.OpenData(COD.Values,2,10);

for(int i = 0; i< 2; i++)

for(int j = 0; j< 10; j++)

chart1.Value[i,j] = (i*10) + j;

chart1.CloseData(COD.Values);

Application.Run(new Form1());

}

}

}

Thanx in advance...

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

news:xArBnJ87CHA.2116@webserver1.softwarefx.com...

> I wrote my code assuming you would add

>

> using SoftwareFX.ChartFX.Lite;

>

> --

> Regards,

>

> JC

> Software FX Support

> "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> news:QuRR1B17CHA.1564@webserver1.softwarefx.com...

> > Hi there,

> >

> > I made my main like:

> >

> >

> > static void Main()

> > {

> >

> > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > SoftwareFX.ChartFX.Lite.Chart();

> >

> > chart1.Gallery = Gallery.Lines;

> >

> > chart1.OpenData(COD.Values,2,10);

> > for(int i = 0; i< 2; i++)

> > for(int j = 0; j< 10; j++)

> > chart1.Value[i,j] = (i*10) + j;

> > chart1.CloseData(COD.Values);

> >

> > Application.Run(new Form1());

> >

> > }

> >

> > but i get errors about Gallery...

> >

> > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > > Hi to the supporter,

> > >

> > > If it is possible can you post a line chart example to the post?

Because

> i

> > > know nothing about vb...

> > >

> > > Thanx...

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

> > > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > > Yes it supports C# (It is actually developed in C#). We ship VB

> samples

> > > > because most of our customers use VB but it should only be a matter

of

> > > > adding semicolons and changing indexers from the vb syntax () to the

> C#

> > > > syntax [];

> > > >

> > > > --

> > > > Regards,

> > > >

> > > > JC

> > > > Software FX Support

> > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > > Hi,

> > > > >

> > > > > Does ChartFX Lite supports C#???

> > > > >

> > > > > Thanx in advance...

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

ok then i modify the code with your suggestions now the errors gone but i

get a single error in debugging which is:

C:\C#\WindowsApplication5\licenses.licx Could not transform licenses file

'licenses.licx' into a binary resource. The format of the file 'lc.exe' is

invalid.

Not: i copy the dll to my C:\C#\WindowsApplication5 directory...

and if i continue to compile(ignore the message) the code runs and form

appear but the chart isn't line, it is still in default(bar chart)???

using System;

using System.Drawing;

using System.Collections;

using System.ComponentModel;

using System.Windows.Forms;

using System.Data;

using SoftwareFX.ChartFX.Lite;

namespace WindowsApplication5

{

/// <summary>

/// Summary description for Form1.

/// </summary>

public class Form1 : System.Windows.Forms.Form

{

private SoftwareFX.ChartFX.Lite.Chart chart1;

/// <summary>

/// Required designer variable.

/// </summary>

private System.ComponentModel.Container components = null;

public Form1()

{

//

// Required for Windows Form Designer support

//

InitializeComponent();

//

// TODO: Add any constructor code after InitializeComponent call

//

}

/// <summary>

/// Clean up any resources being used.

/// </summary>

protected override void Dispose( bool disposing )

{

if( disposing )

{

if (components != null)

{

components.Dispose();

}

}

base.Dispose( disposing );

}

#region Windows Form Designer generated code

/// <summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// </summary>

private void InitializeComponent()

{

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

this.SuspendLayout();

//

// chart1

//

this.chart1.Location = new System.Drawing.Point(208, 168);

this.chart1.Name = "chart1";

this.chart1.Size = new System.Drawing.Size(352, 248);

this.chart1.TabIndex = 0;

//

// Form1

//

this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

this.ClientSize = new System.Drawing.Size(696, 501);

this.Controls.AddRange(new System.Windows.Forms.Control[] {

this.chart1});

this.Name = "Form1";

this.Text = "Form1";

this.ResumeLayout(false);

}

#endregion

/// <summary>

/// The main entry point for the application.

/// </summary>

[sTAThread]

static void Main()

{

SoftwareFX.ChartFX.Lite.Chart chart1 = new

SoftwareFX.ChartFX.Lite.Chart();

chart1.Gallery = Gallery.Lines;

chart1.OpenData(COD.Values,2,10);

for(int i = 0; i< 2; i++)

for(int j = 0; j< 10; j++)

chart1.Value[i,j] = (i*10) + j;

chart1.CloseData(COD.Values);

Application.Run(new Form1());

}

}

}

Thanx in advance...

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

news:xArBnJ87CHA.2116@webserver1.softwarefx.com...

> I wrote my code assuming you would add

>

> using SoftwareFX.ChartFX.Lite;

>

> --

> Regards,

>

> JC

> Software FX Support

> "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> news:QuRR1B17CHA.1564@webserver1.softwarefx.com...

> > Hi there,

> >

> > I made my main like:

> >

> >

> > static void Main()

> > {

> >

> > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > SoftwareFX.ChartFX.Lite.Chart();

> >

> > chart1.Gallery = Gallery.Lines;

> >

> > chart1.OpenData(COD.Values,2,10);

> > for(int i = 0; i< 2; i++)

> > for(int j = 0; j< 10; j++)

> > chart1.Value[i,j] = (i*10) + j;

> > chart1.CloseData(COD.Values);

> >

> > Application.Run(new Form1());

> >

> > }

> >

> > but i get errors about Gallery...

> >

> > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > > Hi to the supporter,

> > >

> > > If it is possible can you post a line chart example to the post?

Because

> i

> > > know nothing about vb...

> > >

> > > Thanx...

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

> > > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > > Yes it supports C# (It is actually developed in C#). We ship VB

> samples

> > > > because most of our customers use VB but it should only be a matter

of

> > > > adding semicolons and changing indexers from the vb syntax () to the

> C#

> > > > syntax [];

> > > >

> > > > --

> > > > Regards,

> > > >

> > > > JC

> > > > Software FX Support

> > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > > Hi,

> > > > >

> > > > > Does ChartFX Lite supports C#???

> > > > >

> > > > > Thanx in advance...

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

ok then i modify the code with your suggestions now the errors gone but i

get a single error in debugging which is:

C:\C#\WindowsApplication5\licenses.licx Could not transform licenses file

'licenses.licx' into a binary resource. The format of the file 'lc.exe' is

invalid.

Not: i copy the dll to my C:\C#\WindowsApplication5 directory...

and if i continue to compile(ignore the message) the code runs and form

appear but the chart isn't line, it is still in default(bar chart)???

using System;

using System.Drawing;

using System.Collections;

using System.ComponentModel;

using System.Windows.Forms;

using System.Data;

using SoftwareFX.ChartFX.Lite;

namespace WindowsApplication5

{

/// <summary>

/// Summary description for Form1.

/// </summary>

public class Form1 : System.Windows.Forms.Form

{

private SoftwareFX.ChartFX.Lite.Chart chart1;

/// <summary>

/// Required designer variable.

/// </summary>

private System.ComponentModel.Container components = null;

public Form1()

{

//

// Required for Windows Form Designer support

//

InitializeComponent();

//

// TODO: Add any constructor code after InitializeComponent call

//

}

/// <summary>

/// Clean up any resources being used.

/// </summary>

protected override void Dispose( bool disposing )

{

if( disposing )

{

if (components != null)

{

components.Dispose();

}

}

base.Dispose( disposing );

}

#region Windows Form Designer generated code

/// <summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// </summary>

private void InitializeComponent()

{

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

this.SuspendLayout();

//

// chart1

//

this.chart1.Location = new System.Drawing.Point(208, 168);

this.chart1.Name = "chart1";

this.chart1.Size = new System.Drawing.Size(352, 248);

this.chart1.TabIndex = 0;

//

// Form1

//

this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

this.ClientSize = new System.Drawing.Size(696, 501);

this.Controls.AddRange(new System.Windows.Forms.Control[] {

this.chart1});

this.Name = "Form1";

this.Text = "Form1";

this.ResumeLayout(false);

}

#endregion

/// <summary>

/// The main entry point for the application.

/// </summary>

[sTAThread]

static void Main()

{

SoftwareFX.ChartFX.Lite.Chart chart1 = new

SoftwareFX.ChartFX.Lite.Chart();

chart1.Gallery = Gallery.Lines;

chart1.OpenData(COD.Values,2,10);

for(int i = 0; i< 2; i++)

for(int j = 0; j< 10; j++)

chart1.Value[i,j] = (i*10) + j;

chart1.CloseData(COD.Values);

Application.Run(new Form1());

}

}

}

Thanx in advance...

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

news:xArBnJ87CHA.2116@webserver1.softwarefx.com...

> I wrote my code assuming you would add

>

> using SoftwareFX.ChartFX.Lite;

>

> --

> Regards,

>

> JC

> Software FX Support

> "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> news:QuRR1B17CHA.1564@webserver1.softwarefx.com...

> > Hi there,

> >

> > I made my main like:

> >

> >

> > static void Main()

> > {

> >

> > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > SoftwareFX.ChartFX.Lite.Chart();

> >

> > chart1.Gallery = Gallery.Lines;

> >

> > chart1.OpenData(COD.Values,2,10);

> > for(int i = 0; i< 2; i++)

> > for(int j = 0; j< 10; j++)

> > chart1.Value[i,j] = (i*10) + j;

> > chart1.CloseData(COD.Values);

> >

> > Application.Run(new Form1());

> >

> > }

> >

> > but i get errors about Gallery...

> >

> > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > > Hi to the supporter,

> > >

> > > If it is possible can you post a line chart example to the post?

Because

> i

> > > know nothing about vb...

> > >

> > > Thanx...

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

> > > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > > Yes it supports C# (It is actually developed in C#). We ship VB

> samples

> > > > because most of our customers use VB but it should only be a matter

of

> > > > adding semicolons and changing indexers from the vb syntax () to the

> C#

> > > > syntax [];

> > > >

> > > > --

> > > > Regards,

> > > >

> > > > JC

> > > > Software FX Support

> > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > > Hi,

> > > > >

> > > > > Does ChartFX Lite supports C#???

> > > > >

> > > > > Thanx in advance...

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

ok then i modify the code with your suggestions now the errors gone but i

get a single error in debugging which is:

C:\C#\WindowsApplication5\licenses.licx Could not transform licenses file

'licenses.licx' into a binary resource. The format of the file 'lc.exe' is

invalid.

Not: i copy the dll to my C:\C#\WindowsApplication5 directory...

and if i continue to compile(ignore the message) the code runs and form

appear but the chart isn't line, it is still in default(bar chart)???

using System;

using System.Drawing;

using System.Collections;

using System.ComponentModel;

using System.Windows.Forms;

using System.Data;

using SoftwareFX.ChartFX.Lite;

namespace WindowsApplication5

{

/// <summary>

/// Summary description for Form1.

/// </summary>

public class Form1 : System.Windows.Forms.Form

{

private SoftwareFX.ChartFX.Lite.Chart chart1;

/// <summary>

/// Required designer variable.

/// </summary>

private System.ComponentModel.Container components = null;

public Form1()

{

//

// Required for Windows Form Designer support

//

InitializeComponent();

//

// TODO: Add any constructor code after InitializeComponent call

//

}

/// <summary>

/// Clean up any resources being used.

/// </summary>

protected override void Dispose( bool disposing )

{

if( disposing )

{

if (components != null)

{

components.Dispose();

}

}

base.Dispose( disposing );

}

#region Windows Form Designer generated code

/// <summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// </summary>

private void InitializeComponent()

{

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

this.SuspendLayout();

//

// chart1

//

this.chart1.Location = new System.Drawing.Point(208, 168);

this.chart1.Name = "chart1";

this.chart1.Size = new System.Drawing.Size(352, 248);

this.chart1.TabIndex = 0;

//

// Form1

//

this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

this.ClientSize = new System.Drawing.Size(696, 501);

this.Controls.AddRange(new System.Windows.Forms.Control[] {

this.chart1});

this.Name = "Form1";

this.Text = "Form1";

this.ResumeLayout(false);

}

#endregion

/// <summary>

/// The main entry point for the application.

/// </summary>

[sTAThread]

static void Main()

{

SoftwareFX.ChartFX.Lite.Chart chart1 = new

SoftwareFX.ChartFX.Lite.Chart();

chart1.Gallery = Gallery.Lines;

chart1.OpenData(COD.Values,2,10);

for(int i = 0; i< 2; i++)

for(int j = 0; j< 10; j++)

chart1.Value[i,j] = (i*10) + j;

chart1.CloseData(COD.Values);

Application.Run(new Form1());

}

}

}

Thanx in advance...

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

news:xArBnJ87CHA.2116@webserver1.softwarefx.com...

> I wrote my code assuming you would add

>

> using SoftwareFX.ChartFX.Lite;

>

> --

> Regards,

>

> JC

> Software FX Support

> "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> news:QuRR1B17CHA.1564@webserver1.softwarefx.com...

> > Hi there,

> >

> > I made my main like:

> >

> >

> > static void Main()

> > {

> >

> > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > SoftwareFX.ChartFX.Lite.Chart();

> >

> > chart1.Gallery = Gallery.Lines;

> >

> > chart1.OpenData(COD.Values,2,10);

> > for(int i = 0; i< 2; i++)

> > for(int j = 0; j< 10; j++)

> > chart1.Value[i,j] = (i*10) + j;

> > chart1.CloseData(COD.Values);

> >

> > Application.Run(new Form1());

> >

> > }

> >

> > but i get errors about Gallery...

> >

> > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > > Hi to the supporter,

> > >

> > > If it is possible can you post a line chart example to the post?

Because

> i

> > > know nothing about vb...

> > >

> > > Thanx...

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

> > > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > > Yes it supports C# (It is actually developed in C#). We ship VB

> samples

> > > > because most of our customers use VB but it should only be a matter

of

> > > > adding semicolons and changing indexers from the vb syntax () to the

> C#

> > > > syntax [];

> > > >

> > > > --

> > > > Regards,

> > > >

> > > > JC

> > > > Software FX Support

> > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > > Hi,

> > > > >

> > > > > Does ChartFX Lite supports C#???

> > > > >

> > > > > Thanx in advance...

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

You are modifying a different chart than the one shown in your form. The

code that sets the data and the gallery should be applied to this.chart1

typically in your Form1 constructor.

--

Regards,

JC

Software FX Support

"Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

news:SyhoAi87CHA.3240@webserver1.softwarefx.com...

> ok then i modify the code with your suggestions now the errors gone but i

> get a single error in debugging which is:

>

> C:\C#\WindowsApplication5\licenses.licx Could not transform licenses file

> 'licenses.licx' into a binary resource. The format of the file 'lc.exe'

is

> invalid.

>

> Not: i copy the dll to my C:\C#\WindowsApplication5 directory...

>

> and if i continue to compile(ignore the message) the code runs and form

> appear but the chart isn't line, it is still in default(bar chart)???

>

> using System;

> using System.Drawing;

> using System.Collections;

> using System.ComponentModel;

> using System.Windows.Forms;

> using System.Data;

> using SoftwareFX.ChartFX.Lite;

>

> namespace WindowsApplication5

> {

> /// <summary>

> /// Summary description for Form1.

> /// </summary>

> public class Form1 : System.Windows.Forms.Form

> {

> private SoftwareFX.ChartFX.Lite.Chart chart1;

> /// <summary>

> /// Required designer variable.

> /// </summary>

> private System.ComponentModel.Container components = null;

>

> public Form1()

> {

> //

> // Required for Windows Form Designer support

> //

> InitializeComponent();

>

> //

> // TODO: Add any constructor code after InitializeComponent call

> //

> }

>

> /// <summary>

> /// Clean up any resources being used.

> /// </summary>

> protected override void Dispose( bool disposing )

> {

> if( disposing )

> {

> if (components != null)

> {

> components.Dispose();

> }

> }

> base.Dispose( disposing );

> }

>

> #region Windows Form Designer generated code

> /// <summary>

> /// Required method for Designer support - do not modify

> /// the contents of this method with the code editor.

> /// </summary>

> private void InitializeComponent()

> {

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

> this.SuspendLayout();

> //

> // chart1

> //

> this.chart1.Location = new System.Drawing.Point(208, 168);

> this.chart1.Name = "chart1";

> this.chart1.Size = new System.Drawing.Size(352, 248);

> this.chart1.TabIndex = 0;

> //

> // Form1

> //

> this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

> this.ClientSize = new System.Drawing.Size(696, 501);

> this.Controls.AddRange(new System.Windows.Forms.Control[] {

> this.chart1});

> this.Name = "Form1";

> this.Text = "Form1";

> this.ResumeLayout(false);

>

> }

> #endregion

>

> /// <summary>

> /// The main entry point for the application.

> /// </summary>

> [sTAThread]

> static void Main()

> {

>

> SoftwareFX.ChartFX.Lite.Chart chart1 = new

> SoftwareFX.ChartFX.Lite.Chart();

>

> chart1.Gallery = Gallery.Lines;

>

> chart1.OpenData(COD.Values,2,10);

> for(int i = 0; i< 2; i++)

> for(int j = 0; j< 10; j++)

> chart1.Value[i,j] = (i*10) + j;

> chart1.CloseData(COD.Values);

>

> Application.Run(new Form1());

>

> }

> }

> }

>

> Thanx in advance...

>

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

> news:xArBnJ87CHA.2116@webserver1.softwarefx.com...

> > I wrote my code assuming you would add

> >

> > using SoftwareFX.ChartFX.Lite;

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > news:QuRR1B17CHA.1564@webserver1.softwarefx.com...

> > > Hi there,

> > >

> > > I made my main like:

> > >

> > >

> > > static void Main()

> > > {

> > >

> > > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > > SoftwareFX.ChartFX.Lite.Chart();

> > >

> > > chart1.Gallery = Gallery.Lines;

> > >

> > > chart1.OpenData(COD.Values,2,10);

> > > for(int i = 0; i< 2; i++)

> > > for(int j = 0; j< 10; j++)

> > > chart1.Value[i,j] = (i*10) + j;

> > > chart1.CloseData(COD.Values);

> > >

> > > Application.Run(new Form1());

> > >

> > > }

> > >

> > > but i get errors about Gallery...

> > >

> > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > > > Hi to the supporter,

> > > >

> > > > If it is possible can you post a line chart example to the post?

> Because

> > i

> > > > know nothing about vb...

> > > >

> > > > Thanx...

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

> > > > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > > > Yes it supports C# (It is actually developed in C#). We ship VB

> > samples

> > > > > because most of our customers use VB but it should only be a

matter

> of

> > > > > adding semicolons and changing indexers from the vb syntax () to

the

> > C#

> > > > > syntax [];

> > > > >

> > > > > --

> > > > > Regards,

> > > > >

> > > > > JC

> > > > > Software FX Support

> > > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > > > Hi,

> > > > > >

> > > > > > Does ChartFX Lite supports C#???

> > > > > >

> > > > > > Thanx in advance...

> > > > > >

> > > > > >

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

You are modifying a different chart than the one shown in your form. The

code that sets the data and the gallery should be applied to this.chart1

typically in your Form1 constructor.

--

Regards,

JC

Software FX Support

"Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

news:SyhoAi87CHA.3240@webserver1.softwarefx.com...

> ok then i modify the code with your suggestions now the errors gone but i

> get a single error in debugging which is:

>

> C:\C#\WindowsApplication5\licenses.licx Could not transform licenses file

> 'licenses.licx' into a binary resource. The format of the file 'lc.exe'

is

> invalid.

>

> Not: i copy the dll to my C:\C#\WindowsApplication5 directory...

>

> and if i continue to compile(ignore the message) the code runs and form

> appear but the chart isn't line, it is still in default(bar chart)???

>

> using System;

> using System.Drawing;

> using System.Collections;

> using System.ComponentModel;

> using System.Windows.Forms;

> using System.Data;

> using SoftwareFX.ChartFX.Lite;

>

> namespace WindowsApplication5

> {

> /// <summary>

> /// Summary description for Form1.

> /// </summary>

> public class Form1 : System.Windows.Forms.Form

> {

> private SoftwareFX.ChartFX.Lite.Chart chart1;

> /// <summary>

> /// Required designer variable.

> /// </summary>

> private System.ComponentModel.Container components = null;

>

> public Form1()

> {

> //

> // Required for Windows Form Designer support

> //

> InitializeComponent();

>

> //

> // TODO: Add any constructor code after InitializeComponent call

> //

> }

>

> /// <summary>

> /// Clean up any resources being used.

> /// </summary>

> protected override void Dispose( bool disposing )

> {

> if( disposing )

> {

> if (components != null)

> {

> components.Dispose();

> }

> }

> base.Dispose( disposing );

> }

>

> #region Windows Form Designer generated code

> /// <summary>

> /// Required method for Designer support - do not modify

> /// the contents of this method with the code editor.

> /// </summary>

> private void InitializeComponent()

> {

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

> this.SuspendLayout();

> //

> // chart1

> //

> this.chart1.Location = new System.Drawing.Point(208, 168);

> this.chart1.Name = "chart1";

> this.chart1.Size = new System.Drawing.Size(352, 248);

> this.chart1.TabIndex = 0;

> //

> // Form1

> //

> this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

> this.ClientSize = new System.Drawing.Size(696, 501);

> this.Controls.AddRange(new System.Windows.Forms.Control[] {

> this.chart1});

> this.Name = "Form1";

> this.Text = "Form1";

> this.ResumeLayout(false);

>

> }

> #endregion

>

> /// <summary>

> /// The main entry point for the application.

> /// </summary>

> [sTAThread]

> static void Main()

> {

>

> SoftwareFX.ChartFX.Lite.Chart chart1 = new

> SoftwareFX.ChartFX.Lite.Chart();

>

> chart1.Gallery = Gallery.Lines;

>

> chart1.OpenData(COD.Values,2,10);

> for(int i = 0; i< 2; i++)

> for(int j = 0; j< 10; j++)

> chart1.Value[i,j] = (i*10) + j;

> chart1.CloseData(COD.Values);

>

> Application.Run(new Form1());

>

> }

> }

> }

>

> Thanx in advance...

>

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

> news:xArBnJ87CHA.2116@webserver1.softwarefx.com...

> > I wrote my code assuming you would add

> >

> > using SoftwareFX.ChartFX.Lite;

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > news:QuRR1B17CHA.1564@webserver1.softwarefx.com...

> > > Hi there,

> > >

> > > I made my main like:

> > >

> > >

> > > static void Main()

> > > {

> > >

> > > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > > SoftwareFX.ChartFX.Lite.Chart();

> > >

> > > chart1.Gallery = Gallery.Lines;

> > >

> > > chart1.OpenData(COD.Values,2,10);

> > > for(int i = 0; i< 2; i++)

> > > for(int j = 0; j< 10; j++)

> > > chart1.Value[i,j] = (i*10) + j;

> > > chart1.CloseData(COD.Values);

> > >

> > > Application.Run(new Form1());

> > >

> > > }

> > >

> > > but i get errors about Gallery...

> > >

> > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > > > Hi to the supporter,

> > > >

> > > > If it is possible can you post a line chart example to the post?

> Because

> > i

> > > > know nothing about vb...

> > > >

> > > > Thanx...

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

> > > > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > > > Yes it supports C# (It is actually developed in C#). We ship VB

> > samples

> > > > > because most of our customers use VB but it should only be a

matter

> of

> > > > > adding semicolons and changing indexers from the vb syntax () to

the

> > C#

> > > > > syntax [];

> > > > >

> > > > > --

> > > > > Regards,

> > > > >

> > > > > JC

> > > > > Software FX Support

> > > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > > > Hi,

> > > > > >

> > > > > > Does ChartFX Lite supports C#???

> > > > > >

> > > > > > Thanx in advance...

> > > > > >

> > > > > >

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

I think i am pointing chart1? as seen on the pic... So i can't understand

which part i am wrong???

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

news:Utjc5B97CHA.2116@webserver1.softwarefx.com...

> You are modifying a different chart than the one shown in your form. The

> code that sets the data and the gallery should be applied to this.chart1

> typically in your Form1 constructor.

>

> --

> Regards,

>

> JC

> Software FX Support

> "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> news:SyhoAi87CHA.3240@webserver1.softwarefx.com...

> > ok then i modify the code with your suggestions now the errors gone but

i

> > get a single error in debugging which is:

> >

> > C:\C#\WindowsApplication5\licenses.licx Could not transform licenses

file

> > 'licenses.licx' into a binary resource. The format of the file 'lc.exe'

> is

> > invalid.

> >

> > Not: i copy the dll to my C:\C#\WindowsApplication5 directory...

> >

> > and if i continue to compile(ignore the message) the code runs and form

> > appear but the chart isn't line, it is still in default(bar chart)???

> >

> > using System;

> > using System.Drawing;

> > using System.Collections;

> > using System.ComponentModel;

> > using System.Windows.Forms;

> > using System.Data;

> > using SoftwareFX.ChartFX.Lite;

> >

> > namespace WindowsApplication5

> > {

> > /// <summary>

> > /// Summary description for Form1.

> > /// </summary>

> > public class Form1 : System.Windows.Forms.Form

> > {

> > private SoftwareFX.ChartFX.Lite.Chart chart1;

> > /// <summary>

> > /// Required designer variable.

> > /// </summary>

> > private System.ComponentModel.Container components = null;

> >

> > public Form1()

> > {

> > //

> > // Required for Windows Form Designer support

> > //

> > InitializeComponent();

> >

> > //

> > // TODO: Add any constructor code after InitializeComponent call

> > //

> > }

> >

> > /// <summary>

> > /// Clean up any resources being used.

> > /// </summary>

> > protected override void Dispose( bool disposing )

> > {

> > if( disposing )

> > {

> > if (components != null)

> > {

> > components.Dispose();

> > }

> > }

> > base.Dispose( disposing );

> > }

> >

> > #region Windows Form Designer generated code

> > /// <summary>

> > /// Required method for Designer support - do not modify

> > /// the contents of this method with the code editor.

> > /// </summary>

> > private void InitializeComponent()

> > {

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

> > this.SuspendLayout();

> > //

> > // chart1

> > //

> > this.chart1.Location = new System.Drawing.Point(208, 168);

> > this.chart1.Name = "chart1";

> > this.chart1.Size = new System.Drawing.Size(352, 248);

> > this.chart1.TabIndex = 0;

> > //

> > // Form1

> > //

> > this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

> > this.ClientSize = new System.Drawing.Size(696, 501);

> > this.Controls.AddRange(new System.Windows.Forms.Control[] {

> > this.chart1});

> > this.Name = "Form1";

> > this.Text = "Form1";

> > this.ResumeLayout(false);

> >

> > }

> > #endregion

> >

> > /// <summary>

> > /// The main entry point for the application.

> > /// </summary>

> > [sTAThread]

> > static void Main()

> > {

> >

> > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > SoftwareFX.ChartFX.Lite.Chart();

> >

> > chart1.Gallery = Gallery.Lines;

> >

> > chart1.OpenData(COD.Values,2,10);

> > for(int i = 0; i< 2; i++)

> > for(int j = 0; j< 10; j++)

> > chart1.Value[i,j] = (i*10) + j;

> > chart1.CloseData(COD.Values);

> >

> > Application.Run(new Form1());

> >

> > }

> > }

> > }

> >

> > Thanx in advance...

> >

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

> > news:xArBnJ87CHA.2116@webserver1.softwarefx.com...

> > > I wrote my code assuming you would add

> > >

> > > using SoftwareFX.ChartFX.Lite;

> > >

> > > --

> > > Regards,

> > >

> > > JC

> > > Software FX Support

> > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > news:QuRR1B17CHA.1564@webserver1.softwarefx.com...

> > > > Hi there,

> > > >

> > > > I made my main like:

> > > >

> > > >

> > > > static void Main()

> > > > {

> > > >

> > > > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > > > SoftwareFX.ChartFX.Lite.Chart();

> > > >

> > > > chart1.Gallery = Gallery.Lines;

> > > >

> > > > chart1.OpenData(COD.Values,2,10);

> > > > for(int i = 0; i< 2; i++)

> > > > for(int j = 0; j< 10; j++)

> > > > chart1.Value[i,j] = (i*10) + j;

> > > > chart1.CloseData(COD.Values);

> > > >

> > > > Application.Run(new Form1());

> > > >

> > > > }

> > > >

> > > > but i get errors about Gallery...

> > > >

> > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > > > > Hi to the supporter,

> > > > >

> > > > > If it is possible can you post a line chart example to the post?

> > Because

> > > i

> > > > > know nothing about vb...

> > > > >

> > > > > Thanx...

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

> > > > > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > > > > Yes it supports C# (It is actually developed in C#). We ship VB

> > > samples

> > > > > > because most of our customers use VB but it should only be a

> matter

> > of

> > > > > > adding semicolons and changing indexers from the vb syntax () to

> the

> > > C#

> > > > > > syntax [];

> > > > > >

> > > > > > --

> > > > > > Regards,

> > > > > >

> > > > > > JC

> > > > > > Software FX Support

> > > > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > > > > Hi,

> > > > > > >

> > > > > > > Does ChartFX Lite supports C#???

> > > > > > >

> > > > > > > Thanx in advance...

> > > > > > >

> > > > > > >

> > > > > >

> > > > > >

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

I think i am pointing chart1? as seen on the pic... So i can't understand

which part i am wrong???

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

news:Utjc5B97CHA.2116@webserver1.softwarefx.com...

> You are modifying a different chart than the one shown in your form. The

> code that sets the data and the gallery should be applied to this.chart1

> typically in your Form1 constructor.

>

> --

> Regards,

>

> JC

> Software FX Support

> "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> news:SyhoAi87CHA.3240@webserver1.softwarefx.com...

> > ok then i modify the code with your suggestions now the errors gone but

i

> > get a single error in debugging which is:

> >

> > C:\C#\WindowsApplication5\licenses.licx Could not transform licenses

file

> > 'licenses.licx' into a binary resource. The format of the file 'lc.exe'

> is

> > invalid.

> >

> > Not: i copy the dll to my C:\C#\WindowsApplication5 directory...

> >

> > and if i continue to compile(ignore the message) the code runs and form

> > appear but the chart isn't line, it is still in default(bar chart)???

> >

> > using System;

> > using System.Drawing;

> > using System.Collections;

> > using System.ComponentModel;

> > using System.Windows.Forms;

> > using System.Data;

> > using SoftwareFX.ChartFX.Lite;

> >

> > namespace WindowsApplication5

> > {

> > /// <summary>

> > /// Summary description for Form1.

> > /// </summary>

> > public class Form1 : System.Windows.Forms.Form

> > {

> > private SoftwareFX.ChartFX.Lite.Chart chart1;

> > /// <summary>

> > /// Required designer variable.

> > /// </summary>

> > private System.ComponentModel.Container components = null;

> >

> > public Form1()

> > {

> > //

> > // Required for Windows Form Designer support

> > //

> > InitializeComponent();

> >

> > //

> > // TODO: Add any constructor code after InitializeComponent call

> > //

> > }

> >

> > /// <summary>

> > /// Clean up any resources being used.

> > /// </summary>

> > protected override void Dispose( bool disposing )

> > {

> > if( disposing )

> > {

> > if (components != null)

> > {

> > components.Dispose();

> > }

> > }

> > base.Dispose( disposing );

> > }

> >

> > #region Windows Form Designer generated code

> > /// <summary>

> > /// Required method for Designer support - do not modify

> > /// the contents of this method with the code editor.

> > /// </summary>

> > private void InitializeComponent()

> > {

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

> > this.SuspendLayout();

> > //

> > // chart1

> > //

> > this.chart1.Location = new System.Drawing.Point(208, 168);

> > this.chart1.Name = "chart1";

> > this.chart1.Size = new System.Drawing.Size(352, 248);

> > this.chart1.TabIndex = 0;

> > //

> > // Form1

> > //

> > this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

> > this.ClientSize = new System.Drawing.Size(696, 501);

> > this.Controls.AddRange(new System.Windows.Forms.Control[] {

> > this.chart1});

> > this.Name = "Form1";

> > this.Text = "Form1";

> > this.ResumeLayout(false);

> >

> > }

> > #endregion

> >

> > /// <summary>

> > /// The main entry point for the application.

> > /// </summary>

> > [sTAThread]

> > static void Main()

> > {

> >

> > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > SoftwareFX.ChartFX.Lite.Chart();

> >

> > chart1.Gallery = Gallery.Lines;

> >

> > chart1.OpenData(COD.Values,2,10);

> > for(int i = 0; i< 2; i++)

> > for(int j = 0; j< 10; j++)

> > chart1.Value[i,j] = (i*10) + j;

> > chart1.CloseData(COD.Values);

> >

> > Application.Run(new Form1());

> >

> > }

> > }

> > }

> >

> > Thanx in advance...

> >

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

> > news:xArBnJ87CHA.2116@webserver1.softwarefx.com...

> > > I wrote my code assuming you would add

> > >

> > > using SoftwareFX.ChartFX.Lite;

> > >

> > > --

> > > Regards,

> > >

> > > JC

> > > Software FX Support

> > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > news:QuRR1B17CHA.1564@webserver1.softwarefx.com...

> > > > Hi there,

> > > >

> > > > I made my main like:

> > > >

> > > >

> > > > static void Main()

> > > > {

> > > >

> > > > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > > > SoftwareFX.ChartFX.Lite.Chart();

> > > >

> > > > chart1.Gallery = Gallery.Lines;

> > > >

> > > > chart1.OpenData(COD.Values,2,10);

> > > > for(int i = 0; i< 2; i++)

> > > > for(int j = 0; j< 10; j++)

> > > > chart1.Value[i,j] = (i*10) + j;

> > > > chart1.CloseData(COD.Values);

> > > >

> > > > Application.Run(new Form1());

> > > >

> > > > }

> > > >

> > > > but i get errors about Gallery...

> > > >

> > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > > > > Hi to the supporter,

> > > > >

> > > > > If it is possible can you post a line chart example to the post?

> > Because

> > > i

> > > > > know nothing about vb...

> > > > >

> > > > > Thanx...

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

> > > > > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > > > > Yes it supports C# (It is actually developed in C#). We ship VB

> > > samples

> > > > > > because most of our customers use VB but it should only be a

> matter

> > of

> > > > > > adding semicolons and changing indexers from the vb syntax () to

> the

> > > C#

> > > > > > syntax [];

> > > > > >

> > > > > > --

> > > > > > Regards,

> > > > > >

> > > > > > JC

> > > > > > Software FX Support

> > > > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > > > > Hi,

> > > > > > >

> > > > > > > Does ChartFX Lite supports C#???

> > > > > > >

> > > > > > > Thanx in advance...

> > > > > > >

> > > > > > >

> > > > > >

> > > > > >

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

The code in the main function is declaring a local chart1 variable, this is

different than form.chart1, also even if you modify main code you need to

see that the code in InitializeComponent will overwrite the variable with a

new chart.

Please believe me, you want to modify chart1 inside a form1 function (main

is static) and you DO NOT want to create a new chart, just to customize the

one you already have.

--

Regards,

JC

Software FX Support

"Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

news:VEOnDf97CHA.2116@webserver1.softwarefx.com...

> I think i am pointing chart1? as seen on the pic... So i can't understand

> which part i am wrong???

>

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

> news:Utjc5B97CHA.2116@webserver1.softwarefx.com...

> > You are modifying a different chart than the one shown in your form. The

> > code that sets the data and the gallery should be applied to this.chart1

> > typically in your Form1 constructor.

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > news:SyhoAi87CHA.3240@webserver1.softwarefx.com...

> > > ok then i modify the code with your suggestions now the errors gone

but

> i

> > > get a single error in debugging which is:

> > >

> > > C:\C#\WindowsApplication5\licenses.licx Could not transform licenses

> file

> > > 'licenses.licx' into a binary resource. The format of the file

'lc.exe'

> > is

> > > invalid.

> > >

> > > Not: i copy the dll to my C:\C#\WindowsApplication5 directory...

> > >

> > > and if i continue to compile(ignore the message) the code runs and

form

> > > appear but the chart isn't line, it is still in default(bar chart)???

> > >

> > > using System;

> > > using System.Drawing;

> > > using System.Collections;

> > > using System.ComponentModel;

> > > using System.Windows.Forms;

> > > using System.Data;

> > > using SoftwareFX.ChartFX.Lite;

> > >

> > > namespace WindowsApplication5

> > > {

> > > /// <summary>

> > > /// Summary description for Form1.

> > > /// </summary>

> > > public class Form1 : System.Windows.Forms.Form

> > > {

> > > private SoftwareFX.ChartFX.Lite.Chart chart1;

> > > /// <summary>

> > > /// Required designer variable.

> > > /// </summary>

> > > private System.ComponentModel.Container components = null;

> > >

> > > public Form1()

> > > {

> > > //

> > > // Required for Windows Form Designer support

> > > //

> > > InitializeComponent();

> > >

> > > //

> > > // TODO: Add any constructor code after InitializeComponent call

> > > //

> > > }

> > >

> > > /// <summary>

> > > /// Clean up any resources being used.

> > > /// </summary>

> > > protected override void Dispose( bool disposing )

> > > {

> > > if( disposing )

> > > {

> > > if (components != null)

> > > {

> > > components.Dispose();

> > > }

> > > }

> > > base.Dispose( disposing );

> > > }

> > >

> > > #region Windows Form Designer generated code

> > > /// <summary>

> > > /// Required method for Designer support - do not modify

> > > /// the contents of this method with the code editor.

> > > /// </summary>

> > > private void InitializeComponent()

> > > {

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

> > > this.SuspendLayout();

> > > //

> > > // chart1

> > > //

> > > this.chart1.Location = new System.Drawing.Point(208, 168);

> > > this.chart1.Name = "chart1";

> > > this.chart1.Size = new System.Drawing.Size(352, 248);

> > > this.chart1.TabIndex = 0;

> > > //

> > > // Form1

> > > //

> > > this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

> > > this.ClientSize = new System.Drawing.Size(696, 501);

> > > this.Controls.AddRange(new System.Windows.Forms.Control[] {

> > > this.chart1});

> > > this.Name = "Form1";

> > > this.Text = "Form1";

> > > this.ResumeLayout(false);

> > >

> > > }

> > > #endregion

> > >

> > > /// <summary>

> > > /// The main entry point for the application.

> > > /// </summary>

> > > [sTAThread]

> > > static void Main()

> > > {

> > >

> > > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > > SoftwareFX.ChartFX.Lite.Chart();

> > >

> > > chart1.Gallery = Gallery.Lines;

> > >

> > > chart1.OpenData(COD.Values,2,10);

> > > for(int i = 0; i< 2; i++)

> > > for(int j = 0; j< 10; j++)

> > > chart1.Value[i,j] = (i*10) + j;

> > > chart1.CloseData(COD.Values);

> > >

> > > Application.Run(new Form1());

> > >

> > > }

> > > }

> > > }

> > >

> > > Thanx in advance...

> > >

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

> > > news:xArBnJ87CHA.2116@webserver1.softwarefx.com...

> > > > I wrote my code assuming you would add

> > > >

> > > > using SoftwareFX.ChartFX.Lite;

> > > >

> > > > --

> > > > Regards,

> > > >

> > > > JC

> > > > Software FX Support

> > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > news:QuRR1B17CHA.1564@webserver1.softwarefx.com...

> > > > > Hi there,

> > > > >

> > > > > I made my main like:

> > > > >

> > > > >

> > > > > static void Main()

> > > > > {

> > > > >

> > > > > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > > > > SoftwareFX.ChartFX.Lite.Chart();

> > > > >

> > > > > chart1.Gallery = Gallery.Lines;

> > > > >

> > > > > chart1.OpenData(COD.Values,2,10);

> > > > > for(int i = 0; i< 2; i++)

> > > > > for(int j = 0; j< 10; j++)

> > > > > chart1.Value[i,j] = (i*10) + j;

> > > > > chart1.CloseData(COD.Values);

> > > > >

> > > > > Application.Run(new Form1());

> > > > >

> > > > > }

> > > > >

> > > > > but i get errors about Gallery...

> > > > >

> > > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > > news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > > > > > Hi to the supporter,

> > > > > >

> > > > > > If it is possible can you post a line chart example to the post?

> > > Because

> > > > i

> > > > > > know nothing about vb...

> > > > > >

> > > > > > Thanx...

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

> > > > > > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > > > > > Yes it supports C# (It is actually developed in C#). We ship

VB

> > > > samples

> > > > > > > because most of our customers use VB but it should only be a

> > matter

> > > of

> > > > > > > adding semicolons and changing indexers from the vb syntax ()

to

> > the

> > > > C#

> > > > > > > syntax [];

> > > > > > >

> > > > > > > --

> > > > > > > Regards,

> > > > > > >

> > > > > > > JC

> > > > > > > Software FX Support

> > > > > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > > > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > > > > > Hi,

> > > > > > > >

> > > > > > > > Does ChartFX Lite supports C#???

> > > > > > > >

> > > > > > > > Thanx in advance...

> > > > > > > >

> > > > > > > >

> > > > > > >

> > > > > > >

> > > > > >

> > > > > >

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>

>

Link to comment
Share on other sites

The code in the main function is declaring a local chart1 variable, this is

different than form.chart1, also even if you modify main code you need to

see that the code in InitializeComponent will overwrite the variable with a

new chart.

Please believe me, you want to modify chart1 inside a form1 function (main

is static) and you DO NOT want to create a new chart, just to customize the

one you already have.

--

Regards,

JC

Software FX Support

"Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

news:VEOnDf97CHA.2116@webserver1.softwarefx.com...

> I think i am pointing chart1? as seen on the pic... So i can't understand

> which part i am wrong???

>

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

> news:Utjc5B97CHA.2116@webserver1.softwarefx.com...

> > You are modifying a different chart than the one shown in your form. The

> > code that sets the data and the gallery should be applied to this.chart1

> > typically in your Form1 constructor.

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > news:SyhoAi87CHA.3240@webserver1.softwarefx.com...

> > > ok then i modify the code with your suggestions now the errors gone

but

> i

> > > get a single error in debugging which is:

> > >

> > > C:\C#\WindowsApplication5\licenses.licx Could not transform licenses

> file

> > > 'licenses.licx' into a binary resource. The format of the file

'lc.exe'

> > is

> > > invalid.

> > >

> > > Not: i copy the dll to my C:\C#\WindowsApplication5 directory...

> > >

> > > and if i continue to compile(ignore the message) the code runs and

form

> > > appear but the chart isn't line, it is still in default(bar chart)???

> > >

> > > using System;

> > > using System.Drawing;

> > > using System.Collections;

> > > using System.ComponentModel;

> > > using System.Windows.Forms;

> > > using System.Data;

> > > using SoftwareFX.ChartFX.Lite;

> > >

> > > namespace WindowsApplication5

> > > {

> > > /// <summary>

> > > /// Summary description for Form1.

> > > /// </summary>

> > > public class Form1 : System.Windows.Forms.Form

> > > {

> > > private SoftwareFX.ChartFX.Lite.Chart chart1;

> > > /// <summary>

> > > /// Required designer variable.

> > > /// </summary>

> > > private System.ComponentModel.Container components = null;

> > >

> > > public Form1()

> > > {

> > > //

> > > // Required for Windows Form Designer support

> > > //

> > > InitializeComponent();

> > >

> > > //

> > > // TODO: Add any constructor code after InitializeComponent call

> > > //

> > > }

> > >

> > > /// <summary>

> > > /// Clean up any resources being used.

> > > /// </summary>

> > > protected override void Dispose( bool disposing )

> > > {

> > > if( disposing )

> > > {

> > > if (components != null)

> > > {

> > > components.Dispose();

> > > }

> > > }

> > > base.Dispose( disposing );

> > > }

> > >

> > > #region Windows Form Designer generated code

> > > /// <summary>

> > > /// Required method for Designer support - do not modify

> > > /// the contents of this method with the code editor.

> > > /// </summary>

> > > private void InitializeComponent()

> > > {

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

> > > this.SuspendLayout();

> > > //

> > > // chart1

> > > //

> > > this.chart1.Location = new System.Drawing.Point(208, 168);

> > > this.chart1.Name = "chart1";

> > > this.chart1.Size = new System.Drawing.Size(352, 248);

> > > this.chart1.TabIndex = 0;

> > > //

> > > // Form1

> > > //

> > > this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

> > > this.ClientSize = new System.Drawing.Size(696, 501);

> > > this.Controls.AddRange(new System.Windows.Forms.Control[] {

> > > this.chart1});

> > > this.Name = "Form1";

> > > this.Text = "Form1";

> > > this.ResumeLayout(false);

> > >

> > > }

> > > #endregion

> > >

> > > /// <summary>

> > > /// The main entry point for the application.

> > > /// </summary>

> > > [sTAThread]

> > > static void Main()

> > > {

> > >

> > > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > > SoftwareFX.ChartFX.Lite.Chart();

> > >

> > > chart1.Gallery = Gallery.Lines;

> > >

> > > chart1.OpenData(COD.Values,2,10);

> > > for(int i = 0; i< 2; i++)

> > > for(int j = 0; j< 10; j++)

> > > chart1.Value[i,j] = (i*10) + j;

> > > chart1.CloseData(COD.Values);

> > >

> > > Application.Run(new Form1());

> > >

> > > }

> > > }

> > > }

> > >

> > > Thanx in advance...

> > >

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

> > > news:xArBnJ87CHA.2116@webserver1.softwarefx.com...

> > > > I wrote my code assuming you would add

> > > >

> > > > using SoftwareFX.ChartFX.Lite;

> > > >

> > > > --

> > > > Regards,

> > > >

> > > > JC

> > > > Software FX Support

> > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > news:QuRR1B17CHA.1564@webserver1.softwarefx.com...

> > > > > Hi there,

> > > > >

> > > > > I made my main like:

> > > > >

> > > > >

> > > > > static void Main()

> > > > > {

> > > > >

> > > > > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > > > > SoftwareFX.ChartFX.Lite.Chart();

> > > > >

> > > > > chart1.Gallery = Gallery.Lines;

> > > > >

> > > > > chart1.OpenData(COD.Values,2,10);

> > > > > for(int i = 0; i< 2; i++)

> > > > > for(int j = 0; j< 10; j++)

> > > > > chart1.Value[i,j] = (i*10) + j;

> > > > > chart1.CloseData(COD.Values);

> > > > >

> > > > > Application.Run(new Form1());

> > > > >

> > > > > }

> > > > >

> > > > > but i get errors about Gallery...

> > > > >

> > > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > > news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > > > > > Hi to the supporter,

> > > > > >

> > > > > > If it is possible can you post a line chart example to the post?

> > > Because

> > > > i

> > > > > > know nothing about vb...

> > > > > >

> > > > > > Thanx...

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

> > > > > > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > > > > > Yes it supports C# (It is actually developed in C#). We ship

VB

> > > > samples

> > > > > > > because most of our customers use VB but it should only be a

> > matter

> > > of

> > > > > > > adding semicolons and changing indexers from the vb syntax ()

to

> > the

> > > > C#

> > > > > > > syntax [];

> > > > > > >

> > > > > > > --

> > > > > > > Regards,

> > > > > > >

> > > > > > > JC

> > > > > > > Software FX Support

> > > > > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > > > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > > > > > Hi,

> > > > > > > >

> > > > > > > > Does ChartFX Lite supports C#???

> > > > > > > >

> > > > > > > > Thanx in advance...

> > > > > > > >

> > > > > > > >

> > > > > > >

> > > > > > >

> > > > > >

> > > > > >

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>

>

post-2107-13922382474329_thumb.jpg

post-2107-13922386166764_thumb.jpg

Link to comment
Share on other sites

ok thanks for all the info that you gave... I did it finally... :)

with the code:

using System;

using System.Drawing;

using System.Collections;

using System.ComponentModel;

using System.Windows.Forms;

using System.Data;

using SoftwareFX.ChartFX.Lite;

namespace WindowsApplication5

{

/// <summary>

/// Summary description for Form1.

/// </summary>

public class Form1 : System.Windows.Forms.Form

{

private SoftwareFX.ChartFX.Lite.Chart chart1;

/// <summary>

/// Required designer variable.

/// </summary>

private System.ComponentModel.Container components = null;

public Form1()

{

//

// Required for Windows Form Designer support

//

InitializeComponent();

//

// TODO: Add any constructor code after InitializeComponent call

//

}

/// <summary>

/// Clean up any resources being used.

/// </summary>

protected override void Dispose( bool disposing )

{

if( disposing )

{

if (components != null)

{

components.Dispose();

}

}

base.Dispose( disposing );

}

#region Windows Form Designer generated code

/// <summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// </summary>

private void InitializeComponent()

{

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

this.SuspendLayout();

//

// chart1

//

this.chart1.Location = new System.Drawing.Point(208, 168);

this.chart1.Name = "chart1";

this.chart1.Size = new System.Drawing.Size(352, 248);

this.chart1.TabIndex = 0;

this.chart1.Gallery = Gallery.Lines;

this.chart1.OpenData(COD.Values,2,10);

for(int i = 0; i< 2; i++)

for(int j = 0; j< 10; j++)

chart1.Value[i,j] = (i*10) + j;

this.chart1.CloseData(COD.Values);

//

// Form1

//

this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

this.ClientSize = new System.Drawing.Size(696, 501);

this.Controls.AddRange(new System.Windows.Forms.Control[] {

this.chart1});

this.Name = "Form1";

this.Text = "Form1";

this.ResumeLayout(false);

}

#endregion

/// <summary>

/// The main entry point for the application.

/// </summary>

[sTAThread]

static void Main()

{

//SoftwareFX.ChartFX.Lite.Chart chart1 = new

SoftwareFX.ChartFX.Lite.Chart();

Application.Run(new Form1());

}

}

}

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

news:WsG6uv97CHA.1564@webserver1.softwarefx.com...

> The code in the main function is declaring a local chart1 variable, this

is

> different than form.chart1, also even if you modify main code you need to

> see that the code in InitializeComponent will overwrite the variable with

a

> new chart.

>

> Please believe me, you want to modify chart1 inside a form1 function (main

> is static) and you DO NOT want to create a new chart, just to customize

the

> one you already have.

>

> --

> Regards,

>

> JC

> Software FX Support

> "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> news:VEOnDf97CHA.2116@webserver1.softwarefx.com...

> > I think i am pointing chart1? as seen on the pic... So i can't

understand

> > which part i am wrong???

> >

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

> > news:Utjc5B97CHA.2116@webserver1.softwarefx.com...

> > > You are modifying a different chart than the one shown in your form.

The

> > > code that sets the data and the gallery should be applied to

this.chart1

> > > typically in your Form1 constructor.

> > >

> > > --

> > > Regards,

> > >

> > > JC

> > > Software FX Support

> > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > news:SyhoAi87CHA.3240@webserver1.softwarefx.com...

> > > > ok then i modify the code with your suggestions now the errors gone

> but

> > i

> > > > get a single error in debugging which is:

> > > >

> > > > C:\C#\WindowsApplication5\licenses.licx Could not transform licenses

> > file

> > > > 'licenses.licx' into a binary resource. The format of the file

> 'lc.exe'

> > > is

> > > > invalid.

> > > >

> > > > Not: i copy the dll to my C:\C#\WindowsApplication5 directory...

> > > >

> > > > and if i continue to compile(ignore the message) the code runs and

> form

> > > > appear but the chart isn't line, it is still in default(bar

chart)???

> > > >

> > > > using System;

> > > > using System.Drawing;

> > > > using System.Collections;

> > > > using System.ComponentModel;

> > > > using System.Windows.Forms;

> > > > using System.Data;

> > > > using SoftwareFX.ChartFX.Lite;

> > > >

> > > > namespace WindowsApplication5

> > > > {

> > > > /// <summary>

> > > > /// Summary description for Form1.

> > > > /// </summary>

> > > > public class Form1 : System.Windows.Forms.Form

> > > > {

> > > > private SoftwareFX.ChartFX.Lite.Chart chart1;

> > > > /// <summary>

> > > > /// Required designer variable.

> > > > /// </summary>

> > > > private System.ComponentModel.Container components = null;

> > > >

> > > > public Form1()

> > > > {

> > > > //

> > > > // Required for Windows Form Designer support

> > > > //

> > > > InitializeComponent();

> > > >

> > > > //

> > > > // TODO: Add any constructor code after InitializeComponent call

> > > > //

> > > > }

> > > >

> > > > /// <summary>

> > > > /// Clean up any resources being used.

> > > > /// </summary>

> > > > protected override void Dispose( bool disposing )

> > > > {

> > > > if( disposing )

> > > > {

> > > > if (components != null)

> > > > {

> > > > components.Dispose();

> > > > }

> > > > }

> > > > base.Dispose( disposing );

> > > > }

> > > >

> > > > #region Windows Form Designer generated code

> > > > /// <summary>

> > > > /// Required method for Designer support - do not modify

> > > > /// the contents of this method with the code editor.

> > > > /// </summary>

> > > > private void InitializeComponent()

> > > > {

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

> > > > this.SuspendLayout();

> > > > //

> > > > // chart1

> > > > //

> > > > this.chart1.Location = new System.Drawing.Point(208, 168);

> > > > this.chart1.Name = "chart1";

> > > > this.chart1.Size = new System.Drawing.Size(352, 248);

> > > > this.chart1.TabIndex = 0;

> > > > //

> > > > // Form1

> > > > //

> > > > this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

> > > > this.ClientSize = new System.Drawing.Size(696, 501);

> > > > this.Controls.AddRange(new System.Windows.Forms.Control[] {

> > > > this.chart1});

> > > > this.Name = "Form1";

> > > > this.Text = "Form1";

> > > > this.ResumeLayout(false);

> > > >

> > > > }

> > > > #endregion

> > > >

> > > > /// <summary>

> > > > /// The main entry point for the application.

> > > > /// </summary>

> > > > [sTAThread]

> > > > static void Main()

> > > > {

> > > >

> > > > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > > > SoftwareFX.ChartFX.Lite.Chart();

> > > >

> > > > chart1.Gallery = Gallery.Lines;

> > > >

> > > > chart1.OpenData(COD.Values,2,10);

> > > > for(int i = 0; i< 2; i++)

> > > > for(int j = 0; j< 10; j++)

> > > > chart1.Value[i,j] = (i*10) + j;

> > > > chart1.CloseData(COD.Values);

> > > >

> > > > Application.Run(new Form1());

> > > >

> > > > }

> > > > }

> > > > }

> > > >

> > > > Thanx in advance...

> > > >

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

> > > > news:xArBnJ87CHA.2116@webserver1.softwarefx.com...

> > > > > I wrote my code assuming you would add

> > > > >

> > > > > using SoftwareFX.ChartFX.Lite;

> > > > >

> > > > > --

> > > > > Regards,

> > > > >

> > > > > JC

> > > > > Software FX Support

> > > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > > news:QuRR1B17CHA.1564@webserver1.softwarefx.com...

> > > > > > Hi there,

> > > > > >

> > > > > > I made my main like:

> > > > > >

> > > > > >

> > > > > > static void Main()

> > > > > > {

> > > > > >

> > > > > > SoftwareFX.ChartFX.Lite.Chart chart1 = new

> > > > > > SoftwareFX.ChartFX.Lite.Chart();

> > > > > >

> > > > > > chart1.Gallery = Gallery.Lines;

> > > > > >

> > > > > > chart1.OpenData(COD.Values,2,10);

> > > > > > for(int i = 0; i< 2; i++)

> > > > > > for(int j = 0; j< 10; j++)

> > > > > > chart1.Value[i,j] = (i*10) + j;

> > > > > > chart1.CloseData(COD.Values);

> > > > > >

> > > > > > Application.Run(new Form1());

> > > > > >

> > > > > > }

> > > > > >

> > > > > > but i get errors about Gallery...

> > > > > >

> > > > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > > > news:8WUrpty7CHA.1564@webserver1.softwarefx.com...

> > > > > > > Hi to the supporter,

> > > > > > >

> > > > > > > If it is possible can you post a line chart example to the

post?

> > > > Because

> > > > > i

> > > > > > > know nothing about vb...

> > > > > > >

> > > > > > > Thanx...

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

message

> > > > > > > news:LMtHlJy7CHA.3240@webserver1.softwarefx.com...

> > > > > > > > Yes it supports C# (It is actually developed in C#). We ship

> VB

> > > > > samples

> > > > > > > > because most of our customers use VB but it should only be a

> > > matter

> > > > of

> > > > > > > > adding semicolons and changing indexers from the vb syntax

()

> to

> > > the

> > > > > C#

> > > > > > > > syntax [];

> > > > > > > >

> > > > > > > > --

> > > > > > > > Regards,

> > > > > > > >

> > > > > > > > JC

> > > > > > > > Software FX Support

> > > > > > > > "Cem Louis" <saltuklev@ttnet.net.tr> wrote in message

> > > > > > > > news:aU9efcx7CHA.3240@webserver1.softwarefx.com...

> > > > > > > > > Hi,

> > > > > > > > >

> > > > > > > > > Does ChartFX Lite supports C#???

> > > > > > > > >

> > > > > > > > > Thanx in advance...

> > > > > > > > >

> > > > > > > > >

> > > > > > > >

> > > > > > > >

> > > > > > >

> > > > > > >

> > > > > >

> > > > > >

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

> >

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...