"Error on calling 'OnCalculateMinMax' method on bar -1: The calculation results in unrenderable values."
in most cases happens when one sets a value that is NaN or Infinity to a plot I suggest it to be changed to something like the following:
"Error on calling 'OnCalculateMinMax' method on bar -1: The calculation results in unrenderable values, eg. a value set for a plot in OnBarUpdate() is NaN or Infinity"
This has the advantage of giving a clue what to fix and suggests the error is because of setting a wrong plot value and not in OnCalculateMinMax method as can be incorrectly assumed.
Comment