Jump to content
Software FX Community

Annot Pos.


User (Legacy)

Recommended Posts

I am having problems positioning my annotation text.  Below is my code for a

Gantt chart. The x positioning (dx) works but (dy) has not effect that

annotation stays on the Y axis. Conversely, in another chart (Bar) the

issue is reversed, Y axis works but X axis does not can you tell me what I'm

doing wrong?

========================================

SoftwareFX.ChartFX.Annotation.AnnotationX annotXObj = new

SoftwareFX.ChartFX.Annotation.AnnotationX();

SoftwareFX.ChartFX.Annotation.AnnotationText annTxt = new

SoftwareFX.ChartFX.Annotation.AnnotationText("Japan");

chart.Extensions.Add(annotXObj);

annotXObj.List.Add(annTxt);

double dx = 4.23;

double dy = 3.43;

annTxt.Attach(dx,dy);

Link to comment
Share on other sites

I figured out my problem....thanks

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

news:MIFShpEXDHA.2332@WEBSERVER1...

> This code works perfectly for me in both Gantt and Bar charts.

>

> Are you using the latest SP ?

>

> Can you please attach a screenshot of what you are getting ?

>

>

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...