Datazen Map Chart custom data and datazenchart Custom Data

Source: Internet
Author: User

Datazen Map Chart custom data and datazenchart 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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.