Datazen Map Chart Custom data

Source: Internet
Author: User

This article describes how to associate data to a Datazen map diagram. We map the data in the database to the map.

First, look at the data that is bound by the default map chart. The following is the system comes with the United States map data, there are two main columns, one column as a place name, one column as the measurement data. The map maps the metric data to the map chart.

This means that you can map data to a map as long as you have these two columns, as long as you make sure that the column names are mapped together with the columns in the map data.

Next we will create a new data query in the database and map the results to the map.

Open SQL Server, because there is no ready-made similar data at hand, so with simple SQL statements to generate some data. The actual project can generate the corresponding data query according to its own data situation.

Generates a data view based on the SQL statement. For information on how to configure data sources and Data views, refer to here:

Http://www.cnblogs.com/aspnetx/p/4558592.html

Preview the Data View.

Go to Datazen Publisher, create a new dashboard, drag a map control, go to Data View and click Add Data.

Specify the newly added data type and select Datazen Server.

Select a data source connection.

Then select the Data view you just created.

Back in the chart Data view, you can see the data table you just imported. Select the newly imported data in the keys.

Confirm that both the map name and the measure column are selected.

Preview the map and you'll see that the data generated in SQL Server is mapped to the map.

The effect in your phone.

Support Datazen Map Chart creation is complete, this article we chose from SQL Server data, Datazen map chart is very convenient to use, the own map data can also meet most of our reporting requirements, followed by how to create a chart based on custom map data.

Datazen Map Chart Custom data

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.