Annuncio: tutti i progetti non commerciali registrati per l'utilizzo di Earth Engine prima del 15 aprile 2025 devono verificare l'idoneità non commerciale per mantenere l'accesso a Earth Engine.
Nuovi nomi delle serie. Se è una stringa, il nome della serie in seriesIndex è impostato su seriesNames. Se si tratta di un elenco, il valore all'indice i dell'elenco viene utilizzato come etichetta per la serie numero i. Se si tratta di un dizionario o di un oggetto, viene trattato come una mappa dai nomi delle serie esistenti ai nuovi nomi delle serie. Negli ultimi due casi, seriesIndex viene ignorato.
seriesIndex
Numero, facoltativo
L'indice della serie da rinominare. Viene ignorato se seriesNames è un elenco o un dizionario. Le serie sono indicizzate su base zero.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-25 UTC."],[[["The `Chart.setSeriesNames` function updates the names of series within a chart."],["You can update series names using a single string, a list of names, or a dictionary mapping old names to new ones."],["When using a string or list, an optional `seriesIndex` argument specifies the target series (0-based indexing)."],["The function returns a modified copy of the chart with the updated series names, leaving the original chart unchanged."]]],["The `Chart.setSeriesNames` function updates series names within a chart. It accepts `seriesNames` as either a string, list, or dictionary. A string renames a specific series by `seriesIndex`. A list sets series names based on their index. A dictionary maps existing series names to new ones. The function returns a new chart (`ui.Chart`) with the updated series names, leaving the original chart untouched. The `seriesIndex` argument is used only when a single string is passed to `seriesNames`.\n"]]