i've been searching sort of tutorial focusing on how tooltips work, have not had luck. i have test project render line chart 5 data points. when instantiate chart object set ismapenabled = true . when define series try set tool tip. private void defineseries() { var series = new series(); series.tooltip = "#valy"; series.postbackvalue = "#index"; var x = new[] {0, 1, 2, 3, 4, 5}; var y = new[] {0, 4, 5, 3, 7, 2}; ( int = 0; < x.length; i++ ) { series.points.add( new datapoint( x[ ], y[ ] ) ); } series.charttype = seriescharttype.line; defineseriesstyle( series ); chart_.series.add( series ); } the chart renders expected, tooltip not display when mouse hovers on data point. missing step somewhere, have no idea is. edit: code shows action method , constructor chart view model , subsequent function call. public actionresult causedoutpoint() { var causedout = new causedoutvi...
Comments
Post a Comment