Skip to content

[TGaxis] secAxis->SetMaxDigits changes all other axes #8774

@ferdymercury

Description

@ferdymercury

Is your feature request related to a problem? Please describe.

A long-standing TGaxis issue is that calling secondaryXaxis->SetMaxDigits(N) affects all other X and Y axes in the current canvas.

Describe the solution you'd like

TGaxis::SetMaxDigits, StripDecimals, etc. are all axes-dependent and don't affect the default state of other axes.

Additional context

https://root-forum.cern.ch/t/tgaxis-setmaxdigits/11543/2?u=ferhue
https://sft.its.cern.ch/jira/browse/ROOT-35
https://root-forum.cern.ch/t/tgaxis-setmaxdigits-not-working-as-expected/2889/3
https://root-forum.cern.ch/t/tgaxis-and-setmaxdigits/19425/5

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions