LineMarker.Content Property (C#)

Posted by: richard.sadler on 7 February 2018, 2:44 pm EST

    • Post Options:
    • Link

    Posted 7 February 2018, 2:44 pm EST

    Hi

    I want to format the content of a line marker data label using function set using the linemarker.content property.

    I’m assuming it needs to be delegate function, but information on using this isn’t obvious to me.

    I get that you can just name the properties of the data that the data series is bound too, but I want to be able to format the data myself

    can anyone help with an example (other than that already available in the flexchart documentation)

    thanks

    Richard

  • Posted 8 February 2018, 12:14 am EST

    Hi Richard,

    The LineMarker.Content requires a string value and not a delegate. This string can contain some pre-defined keywords which the chart would replace at run-time. This is similar to what we have for Toolip customization.

    http://help.grapecity.com/componentone/NetHelp/FlexChartWin/webframe.html#CustomizingTooltipContent.html

    For formatting the LineMarker’s content we’d suggest you to check the LineMarkerExplorer sample. It demonstrates various options using which the LineMarker content can be customized.

    https://www.grapecity.com/en/samples/linemarkerexplorer

    Let us know if this helps.

    Regards,

    Ankit

  • Posted 12 February 2018, 3:56 pm EST

    Hi Ankit

    thanks, that helped me get the formatting I wanted

    regards

    Richard

Need extra support?

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

Learn More

Forum Channels