Community
All Communities
Products
ArcGIS Pro
ArcGIS Survey123
ArcGIS Online
ArcGIS Enterprise
Data Management
Geoprocessing
ArcGIS Web AppBuilder
ArcGIS Experience Builder
ArcGIS Dashboards
ArcGIS CityEngine
ArcGIS Spatial Analyst
All Products Communities
Industries
Education
Water Resources
State & Local Government
Transportation
Gas and Pipeline
Water Utilities
Roads and Highways
Telecommunications
Natural Resources
Electric
Public Safety
All Industries Communities
Developers
Python
JavaScript Maps SDK
Native Maps SDKs
ArcGIS API for Python
ArcObjects SDK
ArcGIS Pro SDK
Developers - General
ArcGIS REST APIs and Services
ArcGIS Online Developers
File Geodatabase API
Game Engine Maps SDKs
All Developers Communities
Worldwide
Comunidad Esri Colombia - Ecuador - Panamá
ArcGIS 開発者コミュニティ
Czech GIS
ArcNesia
Esri India
GeoDev Germany
ArcGIS Content - Esri Nederland
Esri Italia Community
Comunidad GEOTEC
Esri Ireland
Používatelia ArcGIS
All Worldwide Communities
All Communities
Products
Developers
User Groups
Industries
Services
Community Resources
Worldwide
Events
Learning
ArcGIS Topics
Networks
View All Communities
ArcGIS Ideas
GIS Life
Community Resources
Community Help Documents
Community Blog
Community Feedback
Member Introductions
Community Ideas
All Community Resources
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Cancel
Home
:
All Communities
:
Developers
:
ArcGIS API for Flex (Retired)
:
ArcGIS API for Flex Questions
:
Chart from View in Database
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Chart from View in Database
Subscribe
1213
1
06-08-2010 11:41 AM
by
Anonymous User
Not applicable
06-08-2010
11:41 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Original User: ereed
Is it possible in the sample viewer to create a chart based on a view in SQL Server rather than from a layer in a map service?
Thanks,
Ed
Tags
(3)
Tags:
arcgis-api-for-flex
flex
web_developers
Preview file
17 KB
Preview file
21 KB
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
1 Reply
by
Anonymous User
Not applicable
06-08-2010
06:59 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Original User: cgishack
In order to get the data from a SQL Server DB you have a few options...
If the relationship is a 1 : 1 ratio you can join the data to a related layer then use the map service & flex to build the chart on the client side.
Another option is to build a custom web service (ie .NET web service) and return the values to build the chart on the flex side.
Finally another option is to use a .NET web service and MS Charts and return a static image (i.e jpg) from the service
MS Charts:
http://www.microsoft.com/downloads/details.aspx?FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c&displa...
MS Charts Samples:
http://code.msdn.microsoft.com/mschart
Personally I would create a custom .NET web service, then return the results to Flex and use its charting capabilities.
Drew
Reply
0
Kudos
Post Reply