Jump to content
Software FX Community

Legend probs


User (Legacy)

Recommended Posts

Posted

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

Posted

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

Posted

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.

Posted

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.

Posted

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

Posted

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

Posted

The KeyLeg property will do what you need. Set it to a "short" version of

the label (it may be a number or an abbreviation). The KeyLeg will show in

the X-Axis and in the series legend box in place of the numbers to the left

of the ":".

--

FP

Software FX, Inc.

Posted

The KeyLeg property will do what you need. Set it to a "short" version of

the label (it may be a number or an abbreviation). The KeyLeg will show in

the X-Axis and in the series legend box in place of the numbers to the left

of the ":".

--

FP

Software FX, Inc.

Archived

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

×
×
  • Create New...