Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
250
I have a question about the Composite Chart.
posted

Hello,

I want Composite Chart Stacked Series And I want to show value at the line is based on this image. 

 
Help me with suggestions.
Thank you. 

  • 2525
    posted

    Hello Sulada,

    You can utilize markerTemplate within the series option when instantiating the igDataChart and draw to the CanvasContext2D object returned by renderInfo.context in the render function. Here’s a link to the API with further details:
    http://help.infragistics.com/jQuery/2015.2/ui.igDataChart#options:series.markerTemplate

    Given that the label is only text, here’s a link on how to write text to a canvas:
    https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Drawing_text

    You can create a composite chart by creating a series for every bar chart you need and placing them along the same axes. Here’s an example on how to do so:
    http://www.igniteui.com/data-chart/composite-chart