-
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
82b3529
commit 182d394
Showing
22 changed files
with
629 additions
and
28 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
27 changes: 27 additions & 0 deletions
27
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,27 @@ | ||
import { PoChartType } from '../enums/po-chart-type.enum'; | ||
|
||
/** | ||
* @usedBy PoChartComponent | ||
* | ||
* @description | ||
* | ||
* Interface que define as propriedades de exibição dos rótulos das séries no `po-chart`. | ||
* | ||
* > Aplicável apenas para gráficos do tipo `line`. | ||
*/ | ||
export interface PoChartDataLabel { | ||
/** | ||
* @optional | ||
* | ||
* @description | ||
* | ||
* Indica se o texto associado aos pontos da série deve permanecer fixo na exibição do gráfico. | ||
* | ||
* - Quando definido como `true`: | ||
* - O *tooltip* não será exibido. | ||
* - As outras séries ficarão com opacidade reduzida ao passar o mouse sobre a série ativa. | ||
* | ||
* > Disponível apenas para o tipo de gráfico `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
Oops, something went wrong.