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

    Edited once, last by zeitgeist: Emwin version is mentioned (December 3, 2024 at 6:31 AM).

  • 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: https://www.segger.com/ticket/

    Or you can contact us via e-mail.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!