Login Page - Create Account

Support Board


Date/Time: Sun, 08 Sep 2024 00:04:22 +0000



[User Discussion] - Log-Scale is reset to linear scale mostly, if a consant-range is being applied and 0-valu.

View Count: 83

[2024-07-25 17:55:46]
User408639 - Posts: 65
Moin Moin.
After having read "Interactive Scale Range not working with Logarithmic Chart Scale I made sure to read "https://www.sierrachart.com/index.php?page=doc/Scaling.html".
It says.:
"When any of the data in the visible chart bars has a negative or 0 value, then logarithmic scaling is automatically disabled. This also applies to studies as well which are set to use a logarithmic scale."

This has the effect, that I can set a log-scale, whenever no 0-volume-bar is being displayed for the "Volume (ID:6)"study, but not, if 0-value bars are present.

Hence, I wanted to suggest to not disable the log-scaling, if the user explicitly does provide a specific range to plot.
The reasoning behind this, is that a radicand of 0 does correspond to its log-value of (-∞).
But, as the user is providing values to display, as within the attached screenshot from 100 to 10000, there is aconscious decision to exclude the negative/imaginary value-range of the log-function.
So, this one is a backwards-compatible change.

If You want to make sure, that any customer, using this is aware of the change, then my suggestion is, to add a checkbox within the scaling menu, right below "Bottom Of Range" saying something like "even u se this range, if 0 or negative values are to be used within the logarithm".

_Tschüß,
__Michael.
Date Time Of Last Edit: 2024-07-25 17:57:08
imagelogarithmic scale superseded.result.png / V - Attached On 2024-07-25 17:55:34 UTC - Size: 106.91 KB - 21 views

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account