Active Reports 17 Chart programming Change Marker alignment

Posted by: tom on 20 September 2023, 1:37 pm EST

    • Post Options:
    • Link

    Posted 20 September 2023, 1:37 pm EST

    I have a Chart that Show Series with Positive and Negative Values

    The Marker shows on top off the bar when Positive and negative values

    I would like to show the marker on Bottom when negative value

    Thanks

    Tom

  • Posted 20 September 2023, 8:40 pm EST - Updated 20 September 2023, 8:45 pm EST

    Hi Tom,

    You can add the series to the chart yourself via code and set the Style property of the Marker based on the value of the points in the series. If the value of the point is less than 0, set the Style property of the Marker to Style = MarkerStyle.InvTriangle, otherwise, set it to Style = MarkerStyle.Triangle. Also, set the alignment to top or bottom accordingly for the Label property of the Marker.

    ChartMarkers.zip

Need extra support?

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

Learn More

Forum Channels