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

TagHelper - value-axis-item : notes

1 Answer 38 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Heiko
Top achievements
Rank 1
Iron
Veteran
Heiko asked on 07 May 2019, 05:51 PM

I want to display a line on the value axis of my bar chart. When using JS it can be done like this:

  valueAxis: {
  notes: {
    line: {
      length: 340,
      width: 3,
      color: "#ff0000"
    },
    data: [{value: 730, label: {text: "mid"}}]
  }
},

 

But when using a TagHelper I am missing the "data: [...]" part. How can I tell the notes-taghelper where to draw the line?

<value-axis>
    <value-axis-item>
        <notes>
            <chart-value-axis-notes-line length="340" width="3" />
        </notes>
    </value-axis-item>
</value-axis>

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 10 May 2019, 01:48 PM
Hello Heiko,

I have to say that currently there is no implementation for the "data" of the Notes in the MVC and Core Chart helper, but you could create a feature request for it in our public feedback portal:

Best Regards,
Konstantin Dikov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Chart
Asked by
Heiko
Top achievements
Rank 1
Iron
Veteran
Answers by
Konstantin Dikov
Telerik team
Share this question
or