Jump to content
Software FX Community

Draw chart without the vvalue on the Axis_Y


User (Legacy)
 Share

Recommended Posts

Hi, I have another question 

I want to draw an istogram with one serie and few values ( 8 - 10 )

and I want to put the value only on the top of the bar and I don't want to

view value on the axis AXIS_Y

I write :

// to put value on the top of the bar

m_pChart->PointLabels =true;

m_pChart->Fonts[(CfxFont) CHART_VALUESFT] = (CfxFontAttr) (CF_COURIERNEW |

CF_BOLD | 10);

// to hide the value on the AXIS_Y

m_pChart->Axis->Item[AXIS_Y]->Style

=(CfxAxisStyle )(m_pChart->Axis->Item[AXIS_Y]->Style | AS_HIDETEXT );

But the chart in the picture isn't near the left border, it is in the same

position if I drawn the picture with the value on the AXIS_Y, and It isn't

beatiful !!

Is it possible to move the chart near the the left border ?

Thanks in advance,

Paolo

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...