HTML and CSS Reference
In-Depth Information
Figure 4-24.
Drawing pie charts using canvas API
SQL Server Database
The application saves pie chart data such as sector names and their values in a SQL Server database
(
ChartDb
). The
ChartDb
database consists of two tables
:
ChartMaster
and
ChartDetails
. The actual data
access happens through Entity Framework. The Entity Framework data model for the
ChartMaster
and
ChartDetails
tables physically resides in the
Models
folder of the web application and is shown in Figure
4-25.
Figure 4-25.
Entity Framework data model for the
ChartDb
database tables