Skip to content

Conversation

@nkaraman
Copy link

@nkaraman nkaraman commented Oct 9, 2017

Issue:
In some cases scaling with logarithmic axes behaved strange. When you move in chart or scale it fixes the axes in scale of 0 to 1.
There is no way to get out of that state (only restart an app)
originalchart
chartafterscaling

Reason:
In LogarithmicRenderer2D.java:worldToView operation Math.log10(val) with val=0 gives you Infinite.
This mess up computations.

Proposed solution:
Limit computation results to 0 if result is infinite.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 81.802% when pulling cfaa2dd on nkaraman:master into a5f115c on eseifert:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 81.802% when pulling cfaa2dd on nkaraman:master into a5f115c on eseifert:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants