c# - Highcharts DotNet: Would it be at all possible to label Plotlines -
i wondering if possible how label plotlines. either labeling lines directly or adding item legend. have been trying find way, have not found 1 yet.
new xaxisplotlines { value = upperspec, color = system.drawing.color.red, dashstyle = dotnet.highcharts.enums.dashstyles.shortdash, width = 2, label = new xaxislabels { text = "label here" } // not work, want functionality }
thank you! please let me know if there misunderstanding in question.
edit
screenshot
with latest version 2.0 of dotnet.highcharts library it's possible add text on plot lines. example:
new yaxisplotlines { value = 932, color = color.fromname("red"), width = 1, label = new yaxisplotlineslabel { text = "theoretical mean: 932", align = horizontalaligns.center, style = "color: 'gray'" } }
also can see how used in sample project. download here: http://dotnethighcharts.codeplex.com/releases
Comments
Post a Comment