Series label margin

2 posts, 0 answers
  1. Barbaros Saglamtimur
    Barbaros Saglamtimur avatar
    110 posts
    Member since:
    Jul 2012

    Posted 14 Aug 2012 Link to this post

    Hi,

    I would like to snap my series-labels to x-axis or better give margin value relative to x-axis. Please see attached image. Top image is default behavior and the image at the bottom is what I would like to do.

  2. Barbaros Saglamtimur
    Barbaros Saglamtimur avatar
    110 posts
    Member since:
    Jul 2012

    Posted 18 Feb 2013 Link to this post

    Ok, here is the solution

    series: [{
        type: "column",
        field: "Toplam",
        stack: false,
        labels: {
            visible: true,
            template: "#= dataItem.GroupName #",
            rotation: "270",
            position: "insideBase",
            background: "Transparent"
        }
    }],

    rotation: "270",
    position: "insideBase",
    background: "Transparent"

    do the trick. I haven't test for the negative values.
  3. Kendo UI is VS 2017 Ready
Back to Top