Bug using xtpChartScaleDateTime scale type |
Post Reply |
Author | |
rhymes
Newbie Joined: 20 August 2010 Location: United States Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 21 August 2012 at 3:19pm |
Using CodeJock version 15.3.1, when plotting date time values on x-axis on a line chart. I get random horizontal lines showing up that is not related to the data to plot.
Anyone know a solution or encountered this before..?
Unknown horizontal line is drawn at position [00:56:45, 104.69]
Data to Chart
CChartView::addPoint - [00:00:00, 82.09]
CChartView::addPoint - [00:00:02, 82.18] CChartView::addPoint - [00:00:05, 82.29] CChartView::addPoint - [00:00:07, 82.40] CChartView::addPoint - [00:00:10, 82.52] ...
CChartView::addPoint - [00:54:30, 112.08]
CChartView::addPoint - [00:54:35, 111.80] CChartView::addPoint - [00:54:40, 111.52] CChartView::addPoint - [00:54:45, 111.24] CChartView::addPoint - [00:54:50, 110.96] CChartView::addPoint - [00:54:55, 110.68] CChartView::addPoint - [00:55:00, 110.40] CChartView::addPoint - [00:55:05, 110.12] CChartView::addPoint - [00:55:10, 109.84] CChartView::addPoint - [00:55:15, 109.57] CChartView::addPoint - [00:55:20, 109.29] CChartView::addPoint - [00:55:25, 109.02] CChartView::addPoint - [00:55:30, 108.74] CChartView::addPoint - [00:55:35, 108.47] CChartView::addPoint - [00:55:40, 108.19] CChartView::addPoint - [00:55:45, 107.92] CChartView::addPoint - [00:55:50, 107.65] CChartView::addPoint - [00:55:55, 107.37] CChartView::addPoint - [00:56:00, 107.10] CChartView::addPoint - [00:56:05, 106.83] CChartView::addPoint - [00:56:10, 106.56] CChartView::addPoint - [00:56:15, 106.29] CChartView::addPoint - [00:56:20, 106.02] CChartView::addPoint - [00:56:25, 105.75] CChartView::addPoint - [00:56:30, 105.49] CChartView::addPoint - [00:56:35, 105.22] CChartView::addPoint - [00:56:40, 104.95] CChartView::addPoint - [00:56:45, 104.69] <-- Data point is OK CChartView::addPoint - [00:56:50, 104.42] CChartView::addPoint - [00:56:55, 104.16] CChartView::addPoint - [00:57:00, 103.89] CChartView::addPoint - [00:57:05, 103.63] CChartView::addPoint - [00:57:10, 103.37] CChartView::addPoint - [00:57:15, 103.11] CChartView::addPoint - [00:57:20, 102.85] CChartView::addPoint - [00:57:25, 102.59] CChartView::addPoint - [00:57:30, 102.33] CChartView::addPoint - [00:57:35, 102.07] CChartView::addPoint - [00:57:40, 101.81] CChartView::addPoint - [00:57:45, 101.55] CChartView::addPoint - [00:57:50, 101.30] CChartView::addPoint - [00:57:55, 101.04] CChartView::addPoint - [00:58:00, 100.79] CChartView::addPoint - [00:58:05, 100.53] ...
CChartView::addPoint - [01:21:50, 43.47]
CChartView::addPoint - [01:21:55, 43.13] CChartView::addPoint - [01:22:00, 42.79] CChartView::addPoint - [01:22:05, 42.45] CChartView::addPoint - [01:22:10, 42.11] CChartView::addPoint - [01:22:15, 41.78] ... CChartView::addPoint - [01:49:02, 83.59]
CChartView::addPoint - [01:49:07, 83.96] CChartView::addPoint - [01:49:12, 84.33] |
|
Rhymes
|
|
rhymes
Newbie Joined: 20 August 2010 Location: United States Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Hi,
There is an existing problem with the chart scaling that was notice in CodeJock version 15.3.1. Very simple fix; hope that CodeJock Software Developers respond and fix this issue.... Xtreme ToolkitPro v16.1.0 C:\Program Files (x86)\Codejock Software\MFC\Xtreme ToolkitPro v16.1.0 (30 Day Trial)\Source\Chart\Diagram\Axis\XTPChartScaleTypeMap.h Still has: class _XTP_EXT_CLASS CXTPChartTime { enum { Seconds = 1000, Minutes = Seconds * 60, Hours = Minutes * 24 <-- should be Minutes * 60 }; public: CXTPChartTime(double dTime); CXTPChartTime(int nHours, int nMinutes, int nSeconds, int nMilliseconds); int GetHours() const; int GetMinutes() const; int GetSeconds() const; int GetMilliseconds() const; double m_dTime; }; |
|
Rhymes
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |