BUG: Area not drawn correctly |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 26 June 2011 at 2:12pm |
XTP 15.0.2
UPDATE! Added sample project: I really hope you get these area charts right for the next release. Here we go... Area gets drawn incorrectly: With the same data (and same data-filler algorithm), line chart is ok: |
|
PokerMemento - http://www.pokermemento.com/
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
we need test it with same data to find out why it doesn't work for you.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
See attached sample project!
|
|
PokerMemento - http://www.pokermemento.com/
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Thanks I see. Indeed Stacked Style don't presort points before Draw. but simple Area do. In sample's AreaView replace CXTPChartStackedAreaSeriesStyle *pAreaStyle = new CXTPChartStackedAreaSeriesStyle; to CXTPChartAreaSeriesStyle*pAreaStyle = new CXTPChartAreaSeriesStyle; to fix it. Working with fix for Stacked Area too.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Great! And thanks :) One more thing. See the _ADD_EXTRA_POINT-guarded code blocks. Do you see what I'm trying to do there? Since (in this case) my values never decrease, I add values at the right-most value to simulate a "keep on drawing on this level" function. Is this the right approach according to you? |
|
PokerMemento - http://www.pokermemento.com/
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Fixed in 15.1.1 or not?! |
|
PokerMemento - http://www.pokermemento.com/
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Was this fixed or not?!
|
|
PokerMemento - http://www.pokermemento.com/
|
|
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 |