Datazen Map Chart Custom Data
Zookeeper
This article describes how to associate data with Datazen map charts. We map the data in the database to the map.
First, view the data bound to the default map chart. The following are the American map data provided by the system. There are two main columns: one is the place name and the other is the measurement data. The map maps the metric data to the Map chart.
That is to say, as long as the two columns are available, the data can be mapped to the map, as long as the ground column and the columns in the map data can be mapped together.
Next, we will create a data query in the database and map the results to the map.
Open SQL Server, because there is no ready-made similar data on hand, so use a simple SQL statement to generate some data. In actual projects, you can generate corresponding data queries based on your own data conditions.
Generate a data view based on SQL statements. For details about how to configure the data source and data view, refer to here:
Http://www.cnblogs.com/aspnetx/p/4558592.html
Preview The data view.
Go to Datazen Publisher, create a Dashboard, drag a map control, go to Data View, and click Add Data.
Specify the new data type and select Datazen Server.
Select a data source connection.
Then select the created data view.
Return to the chart data view to view the imported data table. In Keys, select the newly imported data.
Make sure that both the Map Name and measurement column are selected.
Preview the map and you will see that the data generated in SQL Server has been mapped to the map.
Phone effect.
Datazen map charts are successfully created. In this article, we select data from SQL Server. Datazen map charts are easy to use, the built-in map data can also meet the requirements of most of our reports. We will introduce how to create charts based on custom map data in the future.