score:4
Accepted answer
For anyone else having a similar issue...
var paidmembers = (from c in db.Customer
where c.CustomerStatusID == 1
select c).Count();
var activemembers = (from c in db.Customer
where c.CustomerStatusID == 2
select c).Count();
new Series {
Name = "Category",
Data = new Data(new object[] {paidmembers, activemembers})
}
Source: stackoverflow.com
Related Query
- highcharts example for using data from database with mvc
- Dynamic chart using Highcharts with data from MySQL database
- How to make multiple Y-axis with incoming series of data from database using Highcharts
- Add dynamic data to line chart from mysql database with highcharts
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- Highcharts display label for pie chart using html table as data source
- HighCharts populate Pie Chart with data from SQL Database
- loading highcharts with data from database
- Extract data series from a JSON array for a Highcharts chart with 2 y-axis
- Highcharts Using Data from Ruby on Rails Database
- How to display historical data and live data from database using Highcharts
- HTML table as data source for highstock charts using highcharts
- Refresh Highcharts with data from AJAX using Handlebars
- Data Conversion from SQL, C# with Linq to JSON for Highcharts Line chart
- Using a flask variable as data source for highcharts
- How to replace x-axes with our own timestamp data from API in Highcharts using highstocks
- Parsing JSON for use with Highcharts using jquery .parseJSON or JSON.parse: how to remove quotes from function calls for formatters?
- Getting Data from Database for HighCHarts
- Highcharts not being drawn in some cases when using data from MySQL (page elements created before database query complete?) PHP / MySQL
- HighCharts pie chart X-axies values are not displayed while trying to get data from MySQL database using PHP
- In highCharts so much space left for each category when using index with data
- How to query data from database using highcharts in Codeigniter?
- Highcharts with data from table, how to add custom marker for specific value from specific series?
- Displaying highchart and using php to get data for the chart from mysql database
- Cannot get Highcharts to show in 3D with data from mysql database
- How to get categories from a database for highcharts using codeigniter
- Highcharts with data from sql database
- Highcharts (highcharts-ng) with ng-repeat worked, But need to pass the data for each chart from the attributes
- Highcharts with data from mysql database
- Scraping data from Highcharts using selenium
More Query from same tag
- In HighMaps how can we pattern fill a world map?
- Highcharts: Dynamically change the offset of the xAxis
- Using HighCharts with vb asp.net
- Increase or decrease point intervals in high chart
- Highcharts ajax loaded tool tip
- Highcharts how to remove headers from tooltip
- Highcharts change the line color if its out of the area range
- Define colors in pie chart dynamically data
- Highcharts: how to be DRY with charts which share some configuration parts?
- json in multiple pie chart using Highchart
- Extending typescript interface from another module
- How do I create polar charts with highcharts-react-official?
- highcharts gauge use with negative values
- TypeScript insert record to multi dimension array ( Eg - Array< number | [number, number] | [string, number] )>
- How to generate PDF Files based on a HTML+CSS+jQuery page containt
- how to COUNT explode imploding data with comma?
- Highcharts - Return string to other container on hover
- Highcharts: locating column group information on mouseover
- Show labels outside in sunburst highchart
- highcharts date not displayed properly on x axis
- Grand Totals in HighCharts Pie Chart Legend
- Highcharts shown in multiple divs with the same name
- Highcharts Column Series Point Object Click Function
- Highcharts errors when webpage in chrome background tab
- Highchart plotLines z Index between series z Index
- Dynamic width for each column if value is 0 in highcharts
- Mult Serie Bubble Chart HighCharts
- Creating multiple series in Highcharts within a loop
- JS Charts Library
- Dynamic chart is not working properly (highcharts)?