Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit d961f55

Browse files
authored
Merge pull request #27 from DevExpress/AlexanderKovalenko-patch-1
Deprecate repository
2 parents 1709e7f + 0a83f91 commit d961f55

File tree

1 file changed

+8
-180
lines changed

1 file changed

+8
-180
lines changed

readme.md

Lines changed: 8 additions & 180 deletions
Original file line numberDiff line numberDiff line change
@@ -1,184 +1,12 @@
1-
## DevExpress Dashboard Extensions
1+
⛔ DEPRECATED. This repository was deprecated. For up-to-date information on custom items, refer to the following examples:
22

3-
This repository contains [dashboard extensions](https://docs.devexpress.com/Dashboard/117232) that allow you to add the additional functionality to the Web Dashboard.
3+
* [Dashboard for ASP.NET Core - Custom Item Gallery](https://github.com/DevExpress-Examples/asp-net-core-dashboard-custom-item-gallery)
4+
* [Dashboard for Angular - Custom Item Gallery](https://github.com/DevExpress-Examples/dashboard-angular-app-custom-item-gallery)
5+
* [Dashboard for React - Custom Item Gallery](https://github.com/DevExpress-Examples/dashboard-react-app-custom-item-gallery)
46

5-
The following extensions are available:
7+
For a custom panel that displays a list of available dashboards, visit the following examples:
68

7-
- [Funnel D3](docs/funnel-d3-item.md)
9+
* [Dashboard for ASP.NET Core - How to Implement a Custom Service and UI for Managing Dashboards List](https://github.com/DevExpress-Examples/asp-net-core-dashboard-custom-panel)
10+
* [Dashboard for Angular - How to Implement a Custom Service and UI for Managing Dashboards List](https://github.com/DevExpress-Examples/angular-dashboard-custom-panel)
811

9-
A custom **FunnelD3** item renders a funnel chart using the [D3Funnel](https://github.com/jakezatecky/d3-funnel/blob/master/README.md) JS library.
10-
11-
- [Online Map](docs/online-map-item.md)
12-
13-
A custom **Online Map** item allows you to place callouts on Google or Bing maps using geographical coordinates.
14-
15-
- [Web Page](docs/webpage-item.md)
16-
17-
A custom **Web Page** item displays a single web page or a set of pages.
18-
19-
- [Parameter Item](docs/parameter-item.md)
20-
21-
A custom **Parameter** item renders [dashboard parameter dialog](https://docs.devexpress.com/Dashboard/117571) content inside the dashboard layout and allows you to edit and submit parameter values.
22-
23-
- [Simple Table](docs/simple-table-item.md)
24-
25-
A custom **Simple Table** item renders data from the measure / dimensions as an HTML table.
26-
27-
- [Dashboard Panel](docs/dashboard-panel.md)
28-
29-
The **Dashboard Panel** is an extension that displays a list of available dashboards and lets you switch between the [designer and viewer](https://docs.devexpress.com/Dashboard/120098) modes.
30-
31-
- [Polar Chart Item](docs/polar-chart-item.md)
32-
33-
A custom **Polar Chart** item renders a polar chart using the [dxPolarChart](https://js.devexpress.com/Documentation/ApiReference/Data_Visualization_Widgets/dxPolarChart/) DevExtreme widget.
34-
35-
You can use these extensions as a base for your own dashboard item extension [development](https://docs.devexpress.com/Dashboard/117546).
36-
37-
- [Install a dashboard extension package](#install-a-dashboard-extension-package)
38-
- [Install scripts using npm](#install-scripts-using-npm)
39-
- [Download the latest version of scripts from GitHub](#download-the-latest-version-of-scripts-from-github)
40-
- [Integrate dashboard extensions in the application](#integrate-dashboard-extensions-in-the-application)
41-
- [Modular approach](#modular-approach)
42-
- [Global namespaces approach](#global-namespaces-approach)
43-
- [Development](#development)
44-
- [License](#license)
45-
- [Support & Feedback](#support--feedback)
46-
47-
## Install a dashboard extension package
48-
49-
You can install the required scripts **with npm** or download them **from the repository**:
50-
51-
### Install scripts using npm
52-
Open a folder with the Web Dashboard application and run the following command:
53-
54-
```bash
55-
npm install git+https://git@github.com/DevExpress/dashboard-extensions.git
56-
```
57-
58-
Make sure that the [devexpress-dashboard](https://www.npmjs.com/package/devexpress-dashboard) package is installed.
59-
60-
### Download the latest version of scripts from GitHub
61-
1. Download the latest version of scripts from [GitHub](https://github.com/DevExpress/dashboard-extensions/releases).
62-
2. Copy the *dist* folder with scripts to your project with the Web Dashboard application.
63-
64-
65-
## Integrate dashboard extensions in the application
66-
67-
You can now integrate the extensions to the Web Dashboard. Use one of the [approaches](https://docs.devexpress.com/Dashboard/119108): **modular approach** or **global namespaces approach**.
68-
69-
70-
### Modular approach
71-
72-
Import the required modules and register extensions in code before the control is rendered:
73-
74-
```javascript
75-
import { FunnelD3ItemExtension } from 'dashboard-extensions/dist/funnel-d3-item';
76-
import { OnlineMapItemExtension } from 'dashboard-extensions/dist/online-map-item';
77-
import { ParameterItemExtension } from 'dashboard-extensions/dist/parameter-item';
78-
import { WebPageItemExtension } from 'dashboard-extensions/dist/webpage-item';
79-
import { SimpleTableItemExtension } from 'dashboard-extensions/dist/simple-table-item';
80-
import { PolarChartItemExtension } from 'dashboard-extensions/dist/polar-chart-item';
81-
// ...
82-
export class DashboardComponent implements AfterViewInit {
83-
ngAfterViewInit(): void {
84-
// ...
85-
dashboardControl.registerExtension(new OnlineMapItemExtension(dashboardControl));
86-
dashboardControl.registerExtension(new FunnelD3ItemExtension(dashboardControl));
87-
dashboardControl.registerExtension(new WebPageItemExtension(dashboardControl));
88-
dashboardControl.registerExtension(new ParameterItemExtension(dashboardControl));
89-
dashboardControl.registerExtension(new SimpleTableItemExtension(dashboardControl));
90-
dashboardControl.registerExtension(new PolarChartItemExtension(dashboardControl));
91-
dashboardControl.render();
92-
}
93-
}
94-
95-
```
96-
97-
> Note that the Dashboard Panel extension consists of HTML, JavaScript, and CSS files and requires additional steps to integrate into the Web Dashboard. See a [Dashboard Panel](docs/dashboard-panel.md) instruction to learn details.
98-
99-
See [Client-Side Configuration (Modular Approach)](https://docs.devexpress.com/Dashboard/400409/) for more information on how to configure a client part of the Web Dashboard application for a modular approach.
100-
101-
### Global namespaces approach
102-
103-
1. Attach the downloaded scripts to the project inside the `<body>` section before the end tag onto the page containing Web Dashboard.
104-
105-
```html
106-
<body>
107-
<!-- ... -->
108-
<script src="node_modules/d3/dist/d3.min.js"></script>
109-
<script src="node_modules/d3-funnel/dist/d3-funnel.min.js"></script>
110-
<script src="node_modules/dashboard-extensions/dist/funnel-d3-item.js"></script>
111-
<script src="node_modules/dashboard-extensions/dist/online-map-item.js"></script>
112-
<script src="node_modules/dashboard-extensions/dist/parameter-item.js"></script>
113-
<script src="node_modules/dashboard-extensions/dist/webpage-item.js"></script>
114-
<script src="node_modules/dashboard-extensions/dist/simple-table-item.js"></script>
115-
<script src="node_modules/dashboard-extensions/dist/polar-chart-item.js"></script>
116-
</body>
117-
```
118-
119-
2. Register extensions in code before the control is rendered:
120-
121-
```javascript
122-
DevExpress.Dashboard.ResourceManager.embedBundledResources();
123-
var dashboardControl = new DevExpress.Dashboard.DashboardControl(document.getElementById("web-dashboard"), {
124-
// ...
125-
});
126-
// ...
127-
dashboardControl.registerExtension(new OnlineMapItemExtension(dashboardControl));
128-
dashboardControl.registerExtension(new FunnelD3ItemExtension(dashboardControl));
129-
dashboardControl.registerExtension(new WebPageItemExtension(dashboardControl));
130-
dashboardControl.registerExtension(new ParameterItemExtension(dashboardControl));
131-
dashboardControl.registerExtension(new SimpleTableItemExtension(dashboardControl));
132-
dashboardControl.registerExtension(new PolarChartItemExtension(dashboardControl));
133-
134-
dashboardControl.render();
135-
```
136-
137-
> Note that the Dashboard Panel extension consists of HTML, JavaScript, and CSS files and requires additional steps to integrate into the Web Dashboard. See a [Dashboard Panel](docs/dashboard-panel.md) instruction to learn details.
138-
139-
See [Client-Side Configuration (Global Namespaces)](https://docs.devexpress.com/Dashboard/119158/) for more information on how to configure a client part of the Web Dashboard application using the approach with global namespaces.
140-
141-
## Development
142-
143-
You can use a code of these extensions as a base for your own dashboard item extension [development](https://docs.devexpress.com/Dashboard/117546).
144-
145-
1. [Fork](https://help.github.com/articles/fork-a-repo/) your own copy of **DevExpress/dashboard-extensions** to your account.
146-
147-
2. Clone this repository to get a local copy of the repository and navigate to the folder.
148-
```bash
149-
git clone https://github.com/{your-GitHub-account-name}/dashboard-extensions.git
150-
cd dashboard-extensions
151-
```
152-
153-
3. Install [webpack](https://www.npmjs.com/package/webpack) and [webpack-cli](https://www.npmjs.com/package/webpack-cli) globally if required.
154-
```bash
155-
npm install webpack webpack-cli -g
156-
```
157-
4. Install [npm](https://www.npmjs.com/get-npm).
158-
159-
```bash
160-
npm install
161-
```
162-
5. Install [devextreme](https://www.npmjs.com/package/devextreme), [@devexpress/analytics-core](https://www.npmjs.com/package/@devexpress/analytics-core) and [devexpress-dashboard](https://www.npmjs.com/package/devexpress-dashboard) packages.
163-
164-
```bash
165-
npm install devextreme @devexpress/analytics-core devexpress-dashboard
166-
```
167-
168-
6. Edit extension's code in the **src** folder and save your changes.
169-
170-
7. Run webpack to bundle script files. See [webpack.config.js](https://github.com/DevExpress/dashboard-extensions/blob/master/webpack.config.js) for build configuration.
171-
```bash
172-
webpack
173-
```
174-
As a result, you can find the extension's script files in the repository's **dist** folder.
175-
176-
## License
177-
178-
These extensions are distributed under the **MIT** license (free and open-source), but can only be used with a commercial DevExpress Dashboard software product. You can [review the license terms](https://www.devexpress.com/Support/EULAs/NetComponents.xml) or [download a free trial version](https://go.devexpress.com/DevExpressDownload_UniversalTrial.aspx) of the Dashboard suite at [DevExpress.com](https://www.devexpress.com).
179-
180-
## Support & Feedback
181-
182-
* Follow [this article](https://docs.devexpress.com/Dashboard/117232/) for general information about custom extensions.
183-
* To learn how to create a custom item, see the [Creating a Custom Item](https://docs.devexpress.com/Dashboard/117546/) article.
184-
* To address questions regarding the Web Dashboard and JavaScript API, use [DevExpress Support Center](https://www.devexpress.com/Support/Center).
12+
The current repository will not be updated in the future.

0 commit comments

Comments
 (0)