LinearAxis - Unit Rounding

Oystein Bjorke fa 5 anys 0
This discussion was imported from CodePlex

user421 wrote at 2014-03-12 11:09:

Original post:

How do I round unit on axis?

I have set.
Axis.FormatAsFractions = true;
Axis.FractionUnit = Math.PI;
Axis.FractionUnitSymbol = "π";

I do not 1,2755645656231456π but something like 1,276π.

Thanks for the answer

Setting StringFormat only works when Axis.FormatAsFractions is set to false.

objo wrote at 2014-03-12 12:51:

This should now be fixed. A unit test that covers this case was also added.