Series Axes not positioning properly in FlexChart

Posted by: robert.reinke on 15 July 2025, 9:50 am EST

    • Post Options:
    • Link

    Posted 15 July 2025, 9:50 am EST - Updated 15 July 2025, 9:55 am EST

    I am trying to create a rather complex chart based on a design by engineers. Attachment 1 shows how the final chart should look. Attachment 2 shows a preliminary version with details about the axes.

    The chart is a fairly simple line chart except that it requires two sets of series, plotted on different axes: the first series set is plotted on the standard X and Y axes and the second series set is plotted on a second X axis (which is vertical on the right) and a secondary Y axis (which is horizontal on the top).

    The first series, if I do it alone, plots just fine. When I add the second series with new Axes I create and position, the axes do not show up where I position them (right and top) but instead show up top and left and the additional series doesn’t plot at all. Attachment 3 below shows how it turns out.

    This seems like it should work, but is not working at all. Sample code attached. I have spent two days trying different things to make this work, with no success. Please help!

    Regards,

    Bob Reinke

    C1FlexChartDFProblem.zip

  • Posted 16 July 2025, 2:19 am EST

    Hello Bob,

    Thank you for sharing the sample. We have made three changes to your sample:

    1. Do not reverse secondaryHorizontal (Passes) [line: 219] => so that chart look like the image you shared and data is plotted correctly
    2. Reverse secondary series bindings [line: 259] => bindings/axes need to be reversed since the secondary plot is inversed.
    3. Reverse secondary series Axes [line: 268] => same as (2)

    Sample: C1FlexChartDFProblem_Fixed.zip

    In the sample, if references are not resolved, please re-add them.

    Regards,

    Uttkarsh.

  • Posted 16 July 2025, 5:55 am EST

    That worked! Thank you very much!

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels