Jump to content
Software FX Community

symbols shown in data legend dont match ones shown in chart


User (Legacy)

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

Archived

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

×
×
  • Create New...