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 with values from multiple JSON file
- Highcharts Displaying same data repeatedly
- How to make a highchart pathfill blink/flicker continuisly
- Graph doesn't show anything on firefox and ie
- Is there a limit for Scatter plots using JS?
- Highchart/stock tooltip formatter for both series and flags
- HighCharts map without GoogleSpreadsheet
- How to set intervals for multiple y-axis in Highcharts?
- Why my label are not at the same height
- append the min max value lableof solidguage with string in highchart
- Highstock Column Chart dragging issue
- dotnet highchart error, not showing data
- Javascript relative time 24 hours ago etc as time
- Change color of marker on hover points - Highcharts
- how to display the title in the middle of a donut chart with legend?(react-highcharts)
- Highcharts not starting at give start time
- Displaying multiple Highcharts from single json
- Export Highcharts DataTable to PDF - Angular
- PHP Outputing JSON file
- Adding data to highcharts(Highstock) when user scrolling reaches left end
- How to add Indicators in High Stock Candle Stick Chart with Angular 5.0?
- How to load 60,000 data points without datagrouping in highstock chart?
- Spline graph date on x axis
- Removing "Series" label on highcahrt-columnrange chart
- Ajax highcharts PieChart not displaying data
- Highcharts legend items on one line and overlapping
- few line chart's Legend is being display
- running total in highcharts
- highstockchart range selector x axis date is displaying only jan 8 1970 to jan 19 1970
- Position next and previous buttons on far right and left side of the Highchart