Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
345
preserve aspect ratio
posted

Hi, 

I need to produce a winchart where the angles represented by the lines in the chart are significant. Hence I need the visual distance in X/Y to be the same on the axes though the min/max may be different.

How do I control this? - am i even using the best control?

thx

l

  • 53790
    posted

    Hello Luminary,

    I`m not sure that I understand well your scenario, but maybe you are looking for a properties which change the line appearance at  each  point. Could you please take a look at the attached sample for more details. If that is not what you are looking for could you please provide me a mock up of what behavior you are expecting, so I will be able to assist you further.

    Regards

    CompositeLineChart_7.zip
    • 345
      posted in reply to Georgi

      So the demo you provided has the same problem that I am facing. If the graph/window/form is resized, the angles change as the axes limits are fixed - and so the graph is scaled to fit within the physical size limits.

      How does one control the graph so that angles are invariant?

      thx

      l.

      • 345
        posted in reply to David

        or alternatively, the physical dimensions of the first/primary quadrant of the plot?

        ie, as this is dependent on the size of the available container, and leads to the values used as the axis/marker scales, can also help me to figure out the AR. 

        • 345
          posted in reply to Georgi

          Then can you tell me how/where to find the units between each tick mark along an axis? - if the axis is being scaled automatically, this value will be changing and i want to find out what it is?

           

          tia

          l.

          • 53790
            posted in reply to David

            Hello luminary,

             

            As far as I know our UltraChart doesn`t have such kind of functionality. The angles depends of the points (the values on X and Y axis for each point), and also the distance between two points of X axis and distance between two points of Y axis.  Please let me know if you have any questions.

            Regards

          • 345
            posted in reply to Georgi

            Thx for the zip. I'll take a look. Just to clarify what I am trying to do - a line between (0,0)-(1,1) needs to appear on a 45 degree angle. I find that if the axes scale, shape of the chart object - which is resizable impact the on screen angle. I need the angle of this line to always be 45 deg.

            Thx
            l.