Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Grid Charts Integration Versions #4219

Merged
merged 7 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
npm ci
npm run build

- name: Build Grid & Charts integration app
working-directory: ./examples-standalone/grid-charts-integration
run: |
npm ci
# npm run lint

standalone-examples-node14:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -107,11 +113,6 @@ jobs:
npm ci
npm run build

- name: Build Grid & Charts integration app
working-directory: ./examples-standalone/grid-charts-integration
run: |
npm ci
# npm run lint
- name: Build Grid Live Data app
working-directory: ./examples-standalone/grid-live-data
run: |
Expand Down
12 changes: 0 additions & 12 deletions examples-standalone/grid-charts-integration/.browserslistrc

This file was deleted.

16 changes: 16 additions & 0 deletions examples-standalone/grid-charts-integration/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.ts]
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false
26 changes: 11 additions & 15 deletions examples-standalone/grid-charts-integration/.gitignore
Original file line number Diff line number Diff line change
@@ -1,46 +1,42 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
# Compiled output
/dist
/tmp
/out-tsc
/app-builds
main.js
/bazel-out

# dependencies
# Node
/node_modules
npm-debug.log
yarn-error.log

# IDEs and editors
/.idea
.editorconfig
.idea/
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# misc
# Miscellaneous
/.angular/cache
/.sass-cache
.sass-cache/
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
testem.log
/typings

# e2e
/e2e/*.js
/e2e/*.map

# System Files
# System files
.DS_Store
Thumbs.db
32 changes: 24 additions & 8 deletions examples-standalone/grid-charts-integration/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
# Integrating the Grid with Charts
# GridChartsIntegration

This Kendo UI for Angular sample project demonstrates how to integrate the Grid with Charts. The project features a Grid which allows to select its rows. Right clicking the Grid content will open a context menu which lists all available Chart types. Selecting a Chart type opens a Window where the desired Chart is rendered. The Window provides further configuration options for the Chart and an export functionality. Currently, [the example is deployed on GitHub pages](https://telerik.github.io/kendo-angular/grid-charts-integration/).
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.0.10.

## Getting Started
## Development server

1. Clone the sample apps repository locally by using your favorite Git client by running `git clone https://github.com/telerik/kendo-angular.git`.
1. Enter the project directory by running `cd examples-standalone/grid-charts-integration`.
1. Install the node modules with `npm install`.
1. Run the project with `ng serve`.
1. Open http://localhost:4200.
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
88 changes: 47 additions & 41 deletions examples-standalone/grid-charts-integration/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,89 +7,95 @@
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss",
"skipTests": true
},
"@schematics/angular:service": {
"skipTests": true
"style": "scss"
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/grid-charts-integration",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"browser": "src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles/_main.scss"
],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "8mb",
"maximumError": "10mb"
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
"maximumWarning": "2kb",
"maximumError": "4kb"
}
]
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": ""
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "grid-charts-integration:build"
},
"configurations": {
"production": {
"browserTarget": "grid-charts-integration:build:production"
"buildTarget": "grid-charts-integration:build:production"
},
"development": {
"buildTarget": "grid-charts-integration:build:development"
}
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "grid-charts-integration:build"
"buildTarget": "grid-charts-integration:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"scripts": []
}
}
}
}
},
"defaultProject": "grid-charts-integration"
}
}
32 changes: 0 additions & 32 deletions examples-standalone/grid-charts-integration/karma.conf.js

This file was deleted.

Loading