Jump to content
Software FX Community

symbols shown in data legend dont match ones shown in chart


User (Legacy)
 Share

Recommended Posts

Hi,

To see this its easier to modify the "passing data" sample project. In

the Option6_click function add:

.LegendBox = True

.LegendBoxObj.AutoSize = True

.LegendBoxObj.Docked = TGFP_TOP

.MultipleColors = True

.Chart3D = False

Now, I would expect the markers in the chart to match the markers in the

legened, but this is not so.

Is this a bug, or do I need to configure this differently?

Thanks,

Steve.

Link to comment
Share on other sites

Steve wrote:

> Hi,

>

> To see this its easier to modify the "passing data" sample project. In

> the Option6_click function add:

>

> .LegendBox = True

> .LegendBoxObj.AutoSize = True

> .LegendBoxObj.Docked = TGFP_TOP

>

> .MultipleColors = True

> .Chart3D = False

>

> Now, I would expect the markers in the chart to match the markers in the

> legened, but this is not so.

>

> Is this a bug, or do I need to configure this differently?

>

> Thanks,

> Steve.

Hi,

Was there a resolution to this bug?

Thanks,

Steve

Link to comment
Share on other sites

This is not a bug. This behavior is by design.

You are turning on the X-Axis legend box. The symbols can not possibly match

because they are mixed. For example for "Label 2" there is two points one is

a square and one is Circle and one is a Square.

You are setting:

.MultipleColors = True

Which means each point in the line may have a different color, normally you

will combine this with setting the colors for each point. The Values Legend

then becomes just an explanation of these colors. If you want no color key

in this legend box, you can do:

.LegendBoxObj.Flags = .LegendBoxObj.Flags Or CHART_LNOCOLOR

What do you want to achieve by displaying this legendbox ? By itself, this

doesn't make sense to me. Maybe if you explain to me what do you want to

ultimately get I can direct you on how to do it.

--

FP

Software FX

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...