Skip to content

Commit

Permalink
Add new inputs of arlas-web-components to the widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedHamouGisaia committed Jul 23, 2018
1 parent bfb0a3d commit 73c989d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
9 changes: 8 additions & 1 deletion src/app/components/timeline/timeline.component.html
Expand Up @@ -38,6 +38,10 @@
[isSmoothedCurve]="detailedTimelineComponent?.input?.isSmoothedCurve"
[barWeight]="detailedTimelineComponent?.input?.barWeight"
[paletteColors]="detailedTimelineComponent?.input?.paletteColors"
[applyOffsetOnAreaChart]="detailedTimelineComponent?.input?.applyOffsetOnAreaChart"
[displayOnlyIntervalsWithData]="detailedTimelineComponent?.input?.displayOnlyIntervalsWithData"
[yAxisStartsFromZero]="detailedTimelineComponent?.input?.yAxisStartsFromZero"
[showStripes]="detailedTimelineComponent?.input?.showStripes"

></arlas-histogram>
</div>
Expand Down Expand Up @@ -72,7 +76,10 @@
[isSmoothedCurve]="timelineComponent?.input?.isSmoothedCurve"
[barWeight]="timelineComponent?.input?.barWeight"
[paletteColors]="timelineComponent?.input?.paletteColors"

[applyOffsetOnAreaChart]="timelineComponent?.input?.applyOffsetOnAreaChart"
[displayOnlyIntervalsWithData]="timelineComponent?.input?.displayOnlyIntervalsWithData"
[yAxisStartsFromZero]="timelineComponent?.input?.yAxisStartsFromZero"
[showStripes]="timelineComponent?.input?.showStripes"
></arlas-histogram>
</div>
</div>
11 changes: 7 additions & 4 deletions src/app/components/widget/widget.component.html
Expand Up @@ -29,7 +29,10 @@
[isSmoothedCurve]="graphParam?.isSmoothedCurve"
[barWeight]="graphParam?.barWeight"
[paletteColors]="graphParam?.paletteColors"

[applyOffsetOnAreaChart]="graphParam?.applyOffsetOnAreaChart"
[displayOnlyIntervalsWithData]="graphParam?.displayOnlyIntervalsWithData"
[yAxisStartsFromZero]="graphParam?.yAxisStartsFromZero"
[showStripes]="graphParam?.showStripes"
></arlas-histogram>
</div>
<div *ngIf="componentType === 'swimlane'">
Expand Down Expand Up @@ -99,13 +102,12 @@
[fieldsConfiguration]="contributor?.fieldsConfiguration"
[fieldsList]="contributor?.fieldsList"
[filtersMap]="contributor?.filtersMap"
[dropDownMapValues]="contributor?.dropDownMapValues"
(sortColumnEvent)="contributor?.sortColumn($event)"
(moreDataEvent)="contributor?.getMoreData($event)"
(setFiltersEvent)="contributor?.setFilters($event)"

[tableWidth]="graphParam.tableWidth"
[globalActionsList]="graphParam.globalActionsList"

[searchSize]="graphParam.searchSize"
[nLastLines]="graphParam.nLastLines"
[detailedGridHeight]="graphParam.detailedGridHeight"
Expand All @@ -115,7 +117,8 @@
[defautMode]="graphParam.defautMode"
[displayFilters]="graphParam.displayFilters"
[isBodyHidden]="graphParam.isBodyHidden"
[isGeoSortActived]="graphParam.isGeoSortActived"
[isGeoSortActived]="graphParam?.isGeoSortActived"
[isAutoGeoSortActived]="graphParam?.isAutoGeoSortActived"
(geoSortEvent)="emitEvent(contributorId, 'geoSortEvent', $event)"
(selectedItemsEvent)="emitEvent(contributorId, 'selectedItemsEvent', $event)"
(consultedItemEvent)="emitEvent(contributorId, 'consultedItemEvent', $event)"
Expand Down

0 comments on commit 73c989d

Please sign in to comment.