How can have a factor in X-axis Graph widget

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

  • How can have a factor in X-axis Graph widget

    Hello

    How can i have a factor for X-axis in Graph .

    What i'm trying to do is have graph with minute unit .
    but i need more sample .

    for example add data every 6 second and have a 0.1 factor for "X" axis .
    with This I have a real minute graph .

    Best regards.
  • Hello,

    The factor of a GRAPH widget can be changed by using the graph scale object.
    • Create a graph scale object (GRAPH_SCALE_Create())
    • Set the factor in the graph scale object (GRAPH_SCALE_SetFactor())
    • Attach the scale object to the GRAPH widget (GRAPH_AttachScale())
    Please note that the GRAPH widget can increment the x axis only by 1 pixel.
    The function GRAPH_DATA_YT_AddValue() could be used only if the value of the application reached the next x coordinate.

    Please also note that subpixel not be used.

    Best regards,
    Thorsten