Print Page | Close Window

Display big double numbers in scientific notation

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Chart Control
Forum Description: Topics Related to Codejock Chart Control
URL: http://forum.codejock.com/forum_posts.asp?TID=24074
Printed Date: 29 April 2024 at 9:15am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Display big double numbers in scientific notation
Posted By: Bassam
Subject: Display big double numbers in scientific notation
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net