Jump to content
Software FX Community

DataEditor display issue


User (Legacy)

Recommended Posts

Hi,

I have a problem with DataEditorObj - when the labels on the left-hand side

exceed beyond certain length, the width of the DataEditor becomes very less,

and the tool appears ugly. See attached images 1 and 2. ILLINOIS is

displayed well, but WISCONSIN EAST is leading to reduced width.

Here is the code snippet:

Chart.DataEditor = true

Chart.DataEditorObj.AutoSize = true

Thanks

Pradeep

Link to comment
Share on other sites

Images attached.

"Pradeep" <pradeep.r@atlasos.com> wrote in message

news:4Ut4HMcHGHA.148@webserver3.softwarefx.com...

> Hi,

>

> I have a problem with DataEditorObj - when the labels on the left-hand

> side

> exceed beyond certain length, the width of the DataEditor becomes very

> less,

> and the tool appears ugly. See attached images 1 and 2. ILLINOIS is

> displayed well, but WISCONSIN EAST is leading to reduced width.

>

> Here is the code snippet:

> Chart.DataEditor = true

> Chart.DataEditorObj.AutoSize = true

>

> Thanks

> Pradeep

>

>

Link to comment
Share on other sites

This is by design. Once the cells can't be aligned with the X-Axis, the 

cells will draw on its own size.

By increasing the size of the ext on the left, you caused the

synchronization of Data Editor and X-Axis to become impossible.

You can increase the Chart's LeftGap to something that can accommodate the

larger labels to maintain synchronization.

In newer versions of Chart FX, you can specify a Content Alignment for the

Data Editor cells, one of the options being to "spread" the available space

among all cells.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...