We are using rad-chart for our application and the chart that gets generated is dynamically generated one where in i am trying to add tool tip for the series item by concatneating two string values .The issue is that when i try to add a Newline definition between them i get JS error when the page loads saying "String has not been terminated".But the two string values appears one below the other as expected.PFB the code that generates the above issue.
(int ic = 0; ic < dtv.Count; ic++)
ChartSeriesItem seriesItem =
seriesItem.YValue = (
seriesItem.Name = "Settlement";
seriesItem.Appearance.Border.Color = Color.Black;
seriesItem.XValue = Convert.ToDouble(dtv[ic]["Date"]);
seriesItem.ActiveRegion.Tooltip = "Date :" + DateTime.FromOADate(Convert.ToDouble(dtv[ic]["Date"])).ToShortDateString() + "" + System.Environment.NewLine + "Price :$" + dtv[ic]["Settlement"].ToString() + "";
null, seriesItem.ActiveRegion.Tooltip.ToString(), true);
The code has been highligted in green color.
Please let me know where i am wrong.
Thanks & Regards,