Posts by siare-software

    Hi,

    I'm struggling with how to plot a filled line graph using emWin widget.
    I know that there is no ready to use widget for a filled graph and that this topic has been already asked in the past in this forum, here:
    How do plot a filled line graph using emWin widget?

    But I really don't understand how I can achieve the result with the suggestion provided.

    If I have the following to create a YT Graph:

    hData = GRAPH_DATA_YT_Create( ... );
    GRAPH_AttachData(hGraph, hData);
    GRAPH_DATA_YT_AddValue(hData, ....);

    I would like to do the same with something that for each new value, build a vertical line,
    but there is no "create" function that allows me to obtaon a handle doing something like this:

    hLine = GRAPH_LINE_Create ();

    Alternatively, I would like to make a filled polygon adding each new value,
    but still there is no "create" polygon handle like:

    hPolygon = GRAPH_POLYGON_Create ();

    Please can you help me?
    Many thanks in advance.
    Best,

    Giovanni