-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(chart): inclusão propriedade
p-data-label
para chart tipo line
Implementação da propriedade 'p-data-label', onde é possível passar a propriedade `fixed`. Com essa propriedade (fixed=tue), irar alterar o grafico do tipo line. - O valor da series ficar sendo exibido fixado com uma background transparente. - Não será mostrado o tooltip ao hover do bullet. - Será adicionado uma opacidade a todas outras series quando selecionado uma delas. - O hover da serie ficará ate selecionar outra ou sair do gráfico. fixes DTHFUI-10134
- Loading branch information
1 parent
3647b03
commit 7d21f50
Showing
22 changed files
with
551 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
projects/ui/src/lib/components/po-chart/interfaces/po-chart-serie-data-label.interface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { PoChartType } from '../enums/po-chart-type.enum'; | ||
|
||
/** | ||
* @usedBy PoChartSerie | ||
* | ||
* @description | ||
* | ||
* Interface das propriedade da serie do `po-chart`. | ||
* > Funciona somente para gráfico do tipo `line`. | ||
*/ | ||
export interface PoChartDataLabel { | ||
/** | ||
* @optional | ||
* | ||
* @description | ||
* | ||
* Define se o texto que será exibido deverá estar exibindo fixo na série do *chart*. | ||
* | ||
* > Caso seja informado, o *tooltip* não será exibido, e ao hover na série as outras séries ficaram com opacidade | ||
* > Funciona somente para o type *PoChartType.Line* | ||
*/ | ||
fixed?: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.