Home forums Using CanvasJS IndexLabel in Line chart like dougnet

This topic contains 3 replies, has 3 voices, and was last updated by  Vishwas R 3 months, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21858

    mhdajmalik
    Member

    Hi,

    I have shared an image link, please see it.

    image URL: https://imgur.com/SvcPM1r
    1.can I show indexLabel in Line chart like a doughnut chart (need a small line to connect to the data point. label placement outside is not working as expected in Line chart) please help ASAP.

    #21867

    Vishwas R
    Keymaster

    @mhdajmalik,

    You can set indexLabelLineThickness to show lines drawn from dataPoint to the indexLabel, which defaults to 0 in every chart-type except pie/doughnut. Please take a look at this jsfiddle.

    If you specifically looking to show lines downwards, you can do so with couple of lines of code. Please take a look at this jsfiddle.


    Vishwas R
    Team CanvasJS

    #21919

    adirgapalit
    Member

    HOw to post question in here?

    #21923

    Vishwas R
    Keymaster

    @adirgapalit,

    You can post your question in forum by clicking ‘Ask Question’ button available in the top of the page in every forum. Please refer the screenshot below.

    Ask Question in CanvasJS Forum


    Vishwas R
    Team CanvasJS

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.