Recent

Author Topic: Missing minors when LinearAxisTransform.scale=-1 [SOLVED]  (Read 2158 times)

AnthonyTekatch

  • Jr. Member
  • **
  • Posts: 78
Missing minors when LinearAxisTransform.scale=-1 [SOLVED]
« on: January 10, 2022, 03:38:09 pm »
The minors grid is not visible when a LinearAxisTransform.scale=-1

Disabling that transform allows the minors to show up.

Would there be a way to have a negative scale transform and a minor grid at the same time?

A simple demo project is attached.
« Last Edit: January 11, 2022, 02:46:05 pm by AnthonyTekatch »

wp

  • Hero Member
  • *****
  • Posts: 11858
Re: Missing minors when LinearAxisTransform.scale=-1
« Reply #1 on: January 10, 2022, 03:50:21 pm »
I guess this is a bug. Could you submit a but report so that it is not forgotten?

Giving the LinearAxisTransfor a negative Scale factor has the effect to invert the axis direction. Why don't you use the Inverted property of the axis? It should have the same effect, but - as I checked - the axis minors are not affected.

AnthonyTekatch

  • Jr. Member
  • **
  • Posts: 78
Re: Missing minors when LinearAxisTransform.scale=-1
« Reply #2 on: January 10, 2022, 06:31:52 pm »
I have submitted a bug report.

Thank you, I will check if inverted property can be used with my larger project.

AnthonyTekatch

  • Jr. Member
  • **
  • Posts: 78
Re: Missing minors when LinearAxisTransform.scale=-1
« Reply #3 on: January 10, 2022, 06:34:55 pm »
Giving the LinearAxisTransfor a negative Scale factor has the effect to invert the axis direction. Why don't you use the Inverted property of the axis? It should have the same effect, but - as I checked - the axis minors are not affected.

I just checked that. Since I also have a right axis, inverting the left axis seems to also invert the right axis, and I think on the separate transform could be used to invert only the left axis.

AnthonyTekatch

  • Jr. Member
  • **
  • Posts: 78
Re: Missing minors when LinearAxisTransform.scale=-1
« Reply #4 on: January 11, 2022, 02:45:18 pm »

 

TinyPortal © 2005-2018