Jump to content
Software FX Community

Legend probs


User (Legacy)

Recommended Posts

Using the following code I am populating a chart at runtime, the problem

being that the legend text is quite long and only the last value shows a

legend for it - setting the legendbox on doesn't shorten this as inferred in

the help file.

chartView.ClearData(SoftwareFX.ChartFX.Lite.ClearDataFlag.Values);

chartView.OpenData(SoftwareFX.ChartFX.Lite.COD.Values, 1,

listResults.SelectedItems.Count);

for(int i = 0; i < listResults.SelectedItems.Count; i++)

{

chartView.Value[0, i] =

Convert.ToInt32(listResults.SelectedItems[i].SubItems[1].Text);

chartView.Legend[i] = listResults.SelectedItems[i].Text;

}

chartView.CloseData(SoftwareFX.ChartFX.Lite.COD.Values);

---

Outgoing mail is certified Virus Free.

Checked by AVG anti-virus system (http://www.grisoft.com).

Version: 6.0.443 / Virus Database: 248 - Release Date: 10/1/2003

Link to comment
Share on other sites

Using the following code I am populating a chart at runtime, the problem

being that the legend text is quite long and only the last value shows a

legend for it - setting the legendbox on doesn't shorten this as inferred in

the help file.

chartView.ClearData(SoftwareFX.ChartFX.Lite.ClearDataFlag.Values);

chartView.OpenData(SoftwareFX.ChartFX.Lite.COD.Values, 1,

listResults.SelectedItems.Count);

for(int i = 0; i < listResults.SelectedItems.Count; i++)

{

chartView.Value[0, i] =

Convert.ToInt32(listResults.SelectedItems[i].SubItems[1].Text);

chartView.Legend[i] = listResults.SelectedItems[i].Text;

}

chartView.CloseData(SoftwareFX.ChartFX.Lite.COD.Values);

---

Outgoing mail is certified Virus Free.

Checked by AVG anti-virus system (http://www.grisoft.com).

Version: 6.0.443 / Virus Database: 248 - Release Date: 10/1/2003

Link to comment
Share on other sites

In the attached graph you'll see that only the last value title is showing,

and the legend numbered. It would be nice to have the values numbered

according to the legend.

Don't get me wrong - I'm sure this is probably because I'm doing something

wrong on this, which is why I sent the code in the previous post.

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

news:#CsyccYwCHA.1368@webserver1.softwarefx.com...

> What would you like to see ? If there is room for just one label, what do

> you when to display ? I will help that you attach a picture of what you

are

> getting pointing out what you will like to see different.

>

> --

> FP

> Software FX, Inc.

>

>

---

Outgoing mail is certified Virus Free.

Checked by AVG anti-virus system (http://www.grisoft.com).

Version: 6.0.443 / Virus Database: 248 - Release Date: 10/1/2003

Link to comment
Share on other sites

In the attached graph you'll see that only the last value title is showing,

and the legend numbered. It would be nice to have the values numbered

according to the legend.

Don't get me wrong - I'm sure this is probably because I'm doing something

wrong on this, which is why I sent the code in the previous post.

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

news:#CsyccYwCHA.1368@webserver1.softwarefx.com...

> What would you like to see ? If there is room for just one label, what do

> you when to display ? I will help that you attach a picture of what you

are

> getting pointing out what you will like to see different.

>

> --

> FP

> Software FX, Inc.

>

>

---

Outgoing mail is certified Virus Free.

Checked by AVG anti-virus system (http://www.grisoft.com).

Version: 6.0.443 / Virus Database: 248 - Release Date: 10/1/2003

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...