Jump to content
Software FX Community

Axis X moves to the right


User (Legacy)

Recommended Posts

Posted

Part of code is as follow:

----------------------------------------------------------------------------

------------------

chart.OpenData(SoftwareFX.ChartFX.COD.Values, 3, 12);

chart.Value[0, 0] = 10;

chart.Legend.Add("Magazines");

chart.Value[1, 0] = 50;

chart.Legend.Add("Community Papers");

chart.Value[2, 0] = 30;

chart.Legend.Add("Television");

chart.Value[0, 1] = 2;

chart.Legend.Add("Magazines");

chart.Value[1, 1] = 25;

chart.Legend.Add("Community Papers");

chart.Value[2, 1] = 15;

chart.Legend.Add("Television");

chart.Value[0, 2] = 8;

chart.Legend.Add("Magazines");

chart.Value[1, 2] = 36;

chart.Legend.Add("Community Papers");

chart.Value[2, 2] = 10;

chart.Legend.Add("Television");

chart.Value[0, 3] = 12;

chart.Legend.Add("Magazines");

chart.Value[1, 3] = 25;

chart.Legend.Add("Community Papers");

chart.Value[2, 3] = 8;

chart.Legend.Add("Television");

chart.Value[0, 4] = 4;

chart.Legend.Add("Magazines");

chart.Value[1, 4] = 12;

chart.Legend.Add("Community Papers");

chart.Value[2, 4] = 21;

chart.Legend.Add("Television");

chart.Value[0, 5] = 5;

chart.Legend.Add("Magazines");

chart.Value[1, 5] = 15;

chart.Legend.Add("Community Papers");

chart.Value[2, 5] = 25;

chart.Legend.Add("Television");

chart.Value[0, 6] = 23;

chart.Legend.Add("Magazines");

chart.Value[1, 6] = 15;

chart.Legend.Add("Community Papers");

chart.Value[2, 6] = 18;

chart.Legend.Add("Television");

chart.Value[0, 7] = 31;

chart.Legend.Add("Magazines");

chart.Value[1, 7] = 24;

chart.Legend.Add("Community Papers");

chart.Value[2, 7] = 15;

chart.Legend.Add("Television");

chart.Value[0, 8] = 5;

chart.Legend.Add("Magazines");

chart.Value[1, 8] = 15;

chart.Legend.Add("Community Papers");

chart.Value[2, 8] = 10;

chart.Legend.Add("Television");

chart.Value[0, 9] = 8;

chart.Legend.Add("Magazines");

chart.Value[1, 9] = 35;

chart.Legend.Add("Community Papers");

chart.Value[2, 9] = 21;

chart.Legend.Add("Television");

chart.Value[0, 10] = 18;

chart.Legend.Add("Magazines");

chart.Value[1, 10] = 28;

chart.Legend.Add("Community Papers");

chart.Value[2, 10] = 12;

chart.Legend.Add("Television");

chart.Value[0, 11] = 8;

chart.Legend.Add("Magazines");

chart.Value[1, 11] = 31;

chart.Legend.Add("Community Papers");

chart.Value[2, 11] = 15;

chart.Legend.Add("Television");

// chart.CylSides = 32;

chart.CloseData(SoftwareFX.ChartFX.COD.Values);

chart.ImgMap = ImgMap.TitleTip;

----------------------------------------------------------------------------

------------------

the problem is that after I add:

chart.Legend.Add... and chart.ImgMap=ImgMap.TitleTip the Axis X moves to

the right and there is a section of blank on the left side, but when I did

the same thing applying to Lines chart, it seems ok. how can I move the Axis

X to its previous place?

thanks,

michael

Posted

I changed to another set of data and the problem just gone, thank you

anyway.

michael

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

news:cG6xnUy9EHA.1580@webserver3.softwarefx.com...

> Please save this chart to a binary file using the Export method and attach

> it to your posting. This will enable us to reproduce the problem and

> hopefully tell you how to fix it.

>

> --

> FP

> Software FX

>

>

Archived

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

×
×
  • Create New...