18.0.1 • Published 1 month ago

@jbrtrnd/ngx-chart-slider v18.0.1

Weekly downloads
-
License
-
Repository
-
Last release
1 month ago

NgxChartSlider

An Angular slider component with bar chart. Demo here : https://jbrtrnd.github.io/ngx-chart-slider

Compatibility

Angular v120.0.4
Angular v130.0.6
Angular v1414.0.1
Angular v1515.0.1
Angular v1616.0.1
Angular v1717.0.1

Installation

npm install --save ngx-chart-slider

Import NgxChartSlideModule in your root Angular module :

import { NgxChartSliderModule } from 'ngx-chart-slider';

@NgModule({
    imports: [
        NgxChartSliderModule
    ],
})
export class AppModule {
}

Basic usage

NgxChartSlider works with ngModel and ReactiveForms.

For a simple slider : value will be a single value.

<ngx-chart-slider [(ngModel)]="value"
                  [steps]="steps">
</ngx-chart-slider>

For a range slider : value will be a two-entries array [min, max].

<ngx-chart-slider [(ngModel)]="value"
                  [range]="true"
                  [steps]="steps">
</ngx-chart-slider>

(See documentation to steps input format)

Documentation

17.0.1

1 month ago

18.0.1

1 month ago

14.0.1

1 year ago

16.0.1

1 year ago

15.0.1

1 year ago

0.0.5

1 year ago

0.0.6

1 year ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago