GRAPH_SCALE_SetFactor makes each number drawn on scale 0

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • GRAPH_SCALE_SetFactor makes each number drawn on scale 0

      Hello,
      Im working on graphs. No issues with that.
      However when i call GRAPH_SCALE_SetFactor function to create a scale, each numbers drawn becomes 0.

      If i do not call GRAPH_SCALE_SetFactor when creating a Scale, it works as expected, numbers drawn with respect to pixel units.


      Calling GRAPH_SCALE_SetFactor(hScale, 1.0f) does not work either.

      What could be the issue?

      Library i use is libGUI_v8m_t_vfpv5_soft_OS0.

      I create SCALE widgets same as the GRAPH example.

      Im using IAR EWARM 9.32.2, and emwin version is 6.46.



      I will be very sad if i need to manually draw the scale on the graph :rolleyes:

      Best Regards,

      Ebubekir

      The post was edited 1 time, last by zeitgeist: Emwin version is mentioned ().

    • Hi Ebubekir,

      I have tried to reproduce this, but for me the routine works fine. Could you please share a code example so that we can reproduce this behavior?

      Thank you!

      Best regards,
      Florian
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.