This is a migrated thread and some comments may be shown as answers.

ClientTemplate not working when contains div

0 Answers 75 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Karol
Top achievements
Rank 1
Karol asked on 30 Sep 2015, 01:44 PM

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>

No answers yet. Maybe you can help?

Tags
Chart (HTML5)
Asked by
Karol
Top achievements
Rank 1
Share this question
or