Skip to content

Commit

Permalink
feat: remove chart legends click & change submit button text
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasPabloFerreira committed Aug 28, 2024
1 parent 0aa9a37 commit 762c3a8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ const CHART_DEFAULT_OPTIONS = {
toolbar: {
autoSelected: "zoom",
},
events: {
legendClick: (event, chartContext, config) => {
event.preventDefault();
}
}
},
stroke: {
curve: "straight",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
type="submit"
class="form-submit-button"
>
{{ "Add New Measurement" | translate }}
{{ "Submit" | translate }}
</button>
</form>
</mat-expansion-panel>
1 change: 0 additions & 1 deletion src/assets/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,6 @@
"Name and gender of the child": "Name and gender of the child",
"Please, provide all the information asked": "Please, provide all the information asked",
"Add New Measurements": "Add New Measurements",
"Add New Measurement": "Add New Measurement",
"Children": "Children",
"Gender": "Gender",
"Child Body Measurements": "Child Body Measurements",
Expand Down
1 change: 0 additions & 1 deletion src/assets/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@
"Name and gender of the child": "Nombre y género del niño",
"Please, provide all the information asked": "Por favor, proporcione toda la información solicitada",
"Add New Measurements": "Agregar Nuevas Mediciones",
"Add New Measurement": "Agregar Nueva Medición",
"Children": "Niños",
"Gender": "Género",
"Child Body Measurements": "Medidas Del Cuerpo Del Niño",
Expand Down

0 comments on commit 762c3a8

Please sign in to comment.