score:2
about the use of html.raw
and the easy solution:
change your function to
public static htmlstring displaychart(this htmlhelper helper, ...)
{
...
return new htmlstring(result);
}
you then may use @html.displaychart(...)
in your razor views.
also, please make sure that options.divname
, options.title
, options.subtitle
etc. are properly escaped - a title like everybody's favorite chart will break the output.
Source: stackoverflow.com
Related Query
- How to elegantly plot charts in ASP.NET MVC 3 using Highcharts?
- Highcharts Highstock How to Plot OHLC and Line Charts from One Set of Embedded CSV Data Using Series Map Tools?
- How to plot line in highcharts on charts click event?
- How to get a cubical plot using highcharts 3D scatter chart?
- How to show multiple pie charts using highcharts
- How to make multiple charts using highcharts in a loop?
- How to include highcharts motion plugin for bubble plot using R wrapper?
- How do I plot the x axis line using Highcharts when pegged at 0?
- how to render multiple line charts - highcharts on same page using highcharts react wrapper - highcharts-react-offical
- HTML table as data source for highstock charts using highcharts
- How to create a drilleable bar graph in jsp page using open source charts API
- How can I get proper object through loop using javascript for Bubble Charts of Highcharts
- How to scrape data from Highcharts charts using selenium and python?
- How to use Highcharts regression plugin to plot a trend line using angular 8 wrapper
- How to remove plot gridlines using Highcharts in R
- How to create charts like below using highcharts in angular
- Align second scatter series to the side similar to how column and bar charts do using HighCharts
- How to update the HighCharts title using drill-up when there are multiple charts on same page?
- ASP NET MVC Highcharts null pointer when adding series
- How could we plot graphical representation using High Charts where one x-axis value have multiple y-axis value
- How can I plot regions using HighCharts GeoMaps?
- How do I set multiple unique charts in their own DIVs using an AngularJS directive and Highcharts
- How to create a column range chart in Highcharts using range and navigator functions?
- How to display the value instead of percentage in a pie chart using jquery Highcharts
- How do I dynamically change a data point in Highcharts using JavaScript
- Javascript Highcharts v3.0.5 - How to hide Y Axis Title when using multiple Y Axis
- How to convert datetime string to UTC to plot points on Highcharts
- How to convert datetime string to UTC to plot points on Highcharts
- Highcharts padding between plot and graph, how to remove?
- how to get svg of highcharts using div id?
More Query from same tag
- How to set multiselect by default in highmaps?
- Highcharts mouse tracking/mouseover feature is slow on chrome but not slow in firefox or IE
- Why is HighCharts not recognizing my data properly?
- Separate panes / or style maximum gridlines in Highstock
- How to position highcharts tooltip above chart with outside:true
- how to add border radius on plotbackground area in highcharts
- Can I load the columns (each series) one by one in a HighChart JS?
- Highcharts --> organisation chart --> toggle visibility of node
- Highcharts month xAxis has uneven space after February column
- How can you align the left and right Y-axes of vertically stacked HighCharts charts?
- Highcharts: Remove space between plot border and actual chart
- Disable percent stacking on legendItemClick in percent stacked column highchart
- Not able to view the last label in xaxis
- Error when using Highcharts with Angular 2
- Display latest data as a pointer on axis in Highchart
- Can we have 2 Y-axis for StockCharts in HighCart.js?
- column chart color range for negative numbers and different color range for positive
- Using highcharter to return multiple data with Shiny
- Highstock- show full data sets on x axis
- Highcharts svg convert to png with server
- How to use HighStock's tickPositioner to set tick at end of month?
- Highcharts Map not rendering no errors
- RoR, Javascript - how to automatically update charts from table?
- Using HighCharts and DotNet.HighCharts to "Play" Multiple Series
- How to pass custom data into Highcharts graph click event
- Use A3 page on Highcharts exporting
- column highchart overlapping and axis X line issue
- What is highstock.js - modules- canvas-tools?
- How to get the equation value result using Highcharts-Regression?
- How to position tooltip when moving along y-axis?