Giter Site home page Giter Site logo

devexpress-examples / web-forms-dashboard-underlying-widgets-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 56.0 0.0 550 KB

How to customize options of underlying widgets in ASP.NET Web Forms Dashboard

License: Other

C# 24.47% JavaScript 32.93% ASP.NET 16.43% Visual Basic .NET 26.17%
dotnet web-forms-dashboard business-intelligence analytics dashboard-for-web-forms

web-forms-dashboard-underlying-widgets-api's Introduction

Dashboard for Web Forms - How to access API of underlying widgets

The following example shows how to customize options of underlying widgets in ASP.NET Web Forms.

Use the ViewerApiExtension.on and ViewerApiExtension.off methods to subscribe and unsubscribe from the events.

The Web Dashboard renders an underlying widget as follows:

  1. The Web Dashboard loads the widget’s default configuration.

    The onItemWidgetOptionsPrepared event is raised. Handle this event to customize the DevExtreme widget’s options before the widget is rendered.

  2. The Web Dashboard renders the UI component with the configured options.

    The onItemWidgetCreated event is raised. It occurs once for each UI component when the dashboard is loaded to the client. You can use this event to customize the UI component instance.

  3. The UI component is updated (for example, when you apply filters or change parameter values).

    The onItemWidgetUpdated event is raised. It occurs every time the UI component should be re-rendered.

The customized options are listed below:

  • The hovered grid row is highlighted in the underlying dxDataGrid.
  • A standard tooltip that appears when a user hovers over a chart's series point is disabled.
  • A custom tooltip appears when a user clicks a label on the chart's argument axis. The onArgumentAxisClick property executes a function that invokes the custom tooltip.
  • The animation is enabled for the dxChart and dxPieChart UI components.
  • The dxPieChart UI component displays a legend.
  • The font weight and an interval between major ticks are modified in the dxCircularGauge UI component.

Files to Review

Documentation

More Examples

web-forms-dashboard-underlying-widgets-api's People

Contributors

devexpressexamplebot avatar natakazakova avatar stason4eg avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.