score:0
It seems you need table or list to show more then one result:
<ul>
@foreach (Highcharts chart in Model.Charts)
{
<li> @(chart)</li>
}
</ul>
//Or
<table>
@foreach (Highcharts chart in Model.Charts)
{
<tr> <td>@(chart)</td></tr>
}
</table>
score:2
From your code you have commented out // model.Charts.Add(g2); so it seems to me only one chart is added to the model
Make sure the chart names are unique in your method for generating each chart ie. Highcharts chart = new Highcharts("chart2")
I imagine in your case the methods for generating the charts both read Highcharts chart = new Highcharts("chart")
Source: stackoverflow.com
Related Query
- Multiple Charts on single page RAZOR MVC4
- Highcharts multiple charts on a single page using c# asp.net mvc3
- Manage multiple highchart charts in a single webpage
- Cannot display multiple Highcharts on a single page
- Multiple highcharts charts dynamically created in angular2 on one page
- Using multiple Highcharts in a single page
- How to generate single PDF of page that contained multiple highcharts in DIVs
- Highchart multiple bar charts in a single webpage
- Multiple highstock charts on one page
- Multiple charts in separate divs, single range and zoom picker
- Highcharts - Multiple Charts On Mobile Page
- how to render multiple line charts - highcharts on same page using highcharts react wrapper - highcharts-react-offical
- How to display Multiple Highchart in single page
- How to create a drilleable bar graph in jsp page using open source charts API
- Displaying multiple graphs on one page using lazy high charts
- Highstock Single Navigator for multiple Charts
- Why code of Horizonal line(y-axis) on a single in Highcharts get applied to all other charts integrated with Webdatarocks
- Hightcharts - multiple data in one single pie charts
- Multiple Pie Charts Of Variable Data With Single Legend Item Click
- Interaction with multiple charts in a page
- Behavior of multiple HighCharts on single page when removing one div
- Can we manage multiple highchart charts in a single function by changing type in chart drawing functionm
- HighCharts, multiple charts on page call via function
- Highcharts Error #16: charts not showing on the same page
- Polymer Template Repeat Over Multiple Charts
- Highcharts - multiple charts
- Multiple series in HighStock charts
- Highcharts: update series on multiple charts with same data
- Highcharts: Plot multiple values in single category
- Single series drilldown to multiple series Highcharts
More Query from same tag
- highcharts, how to prevent series hover event to cause hover event on nearest point(marker)
- highstock shows wrong dates in selectorRange buttons
- Lazy_high_chart: why options.xaxis undefined?
- Dynamically move highstock navigator
- Is it possible to mix columns with a horizontal line on each category?
- highcharts,highstock,symbol is undefiend
- How to set xData as date (Y-M) for Highcharts synchronized charts?
- How to change datetime format values from a queryset in Django?
- HighCharts Dynamically Change Chart Type
- Highcharts-Angular not working with Angular Universal
- removing pie chart outline text
- Combine scatter and line charts with highcharter in R
- reverse functionality of highcharts legend
- Updating Highcharts column chart based on drop down-menu
- Coloring treemap by parent node in highcharts styled mode
- Highstock Time series with uneven data set distrubition
- Highcharts html legend, what column was clicked
- Exporting Highchart To PDF Results in 2 Pages
- Highcharts: Area chart: fill in space between 0 and first point
- Function to create Highcharts where the series has the correct prototype
- Highcharts heatmap without fixed non-temporal axis
- Highcharts add a legend for marker colors
- Highcharts - Multiple Charts On Mobile Page
- Converting high chart to image and send to server using ajax call
- Include export csv in highcharter
- Multiple X-axis values in highcharts
- Highcharts legend title border not full width
- High Chart line single data set but multiple color, not gradient color
- Use Material UI theme attributes for styling highcharts - React
- Pine (Tradingview) Showing different values in different timeframe