ClientTemplate not working when contains div

1 posts, 0 answers
  1. Karol
    Karol avatar
    1 posts
    Member since:
    Aug 2014

    Posted 30 Sep 2015 Link to this post

    Hi, I want to change style of values on the chart - value should be in frame in same series color. 

    I added ClientTemplate to LabelsAppearance and it works until i add DIV on it.

     

    <telerik:LineSeries DataFieldY="SHO_ProductivityGrowth" Name="Miesięczny">
        <LabelsAppearance DataFormatString="{0:p1}" Position="Left">
            <ClientTemplate>
                <div> #= kendo.format(\'{0:P1}\', value) # </div>
            </ClientTemplate>
        </LabelsAppearance>
        <TooltipsAppearance DataFormatString="{0:p2}" />
    </telerik:LineSeries>
Back to Top