Jump to content
Software FX Community

Binding SQL database with Chart Gauge!


Recommended Posts

i m sure like i had, most of you are dreaming to have data-driven chart gauge, right?  here you go with the steps you need to do:

1. add a form view on your visual studio page

2. bind this form with the SQL data source as usual using the sql query will bring the value you want to show on the gauge

3. edit form template using edit template option from the form view smart tag options

4. add a chart gauge into the form view

5. for the value parameter, add the following code like below for the main indicator needle


ChartFXGauge:Needle Style="Needle02" Value='<%# ltrim(str(Eval("field name goes here"))) %>' />

6. after adding this code, your chart gauge wont show on the visual studio, but DONT WORRY, just publish your page and view.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...