How do i use accounting form as default for ticks in graph?
I am using
$PrePrint=AccountingForm;
but this is not affecting the ticks in graph.
Michael this following is still causing problems.
RectangleChart[{{{1, 275223.704333`}, {1, 647056.333196`}, {1,
595454.512134`}, {1, 588530.099239`}}, {{1, 839132.567778`}, {1,
968881.133341`}, {1, 1.225078442665`*^6}, {1,
1.148257714327`*^6}}}, BarSpacing -> {0, 1},
ChartLabels -> {Placed[{"New", "Renew"}, {0.5, 0.5}], {1, 2, 3, 4}},
ChartStyle -> (Directive[#, Opacity[0.75]] & /@
ColorData[97, "ColorList"]), ImageSize -> Large, Axes -> True,
PlotTheme -> "Detailed",
FrameTicks -> {{acctTicks, None}, {None, None}}, PlotRange -> All]
Plot[Sin[x], {x, -2 Pi, 2 Pi}, Ticks -> {{#, AccountingForm[N@#, 3]} & /@ Range[-2 Pi, 2 Pi, Pi/2], {#, AccountingForm[#]} & /@ {-1, -.5, .5, 1}}]
$\endgroup$ConstantArray[AccountingForm[#, {3,2}]&, 2]
to reformat both axis ofPlot
. $\endgroup$