Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Chart Control
  New Posts New Posts RSS Feed - Display big double numbers in scientific notation
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Display big double numbers in scientific notation

 Post Reply Post Reply
Author
Message
Bassam View Drop Down
Newbie
Newbie


Joined: 29 September 2020
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bassam Quote  Post ReplyReply Direct Link To This Post Topic: Display big double numbers in scientific notation
    Posted: 29 September 2020 at 8:07am
Hi
I’m trying to use a CXTPChartControl, then I have added to it a series with many points as:
CXTPChartSeries* series1 = new CXTPChartSeries();
series1->GetPoints()->Add(new CXTPChartSeriesPoint(0, 123456789));
series1->GetPoints()->Add(new CXTPChartSeriesPoint(3, 2));

But my problem is a codejock chart rendered a points in scientific notation, i.e (1.23457e+08) not as it (123456789).
Also this problem repeated in axis values (as displayed in image below).



How can I solve this problem?

Thanks.

MSc. Software Engineer
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.