با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک کپی از این نمودار را با نام سریال های به روز شده برمی گرداند.
استفاده
برمی گرداند
Chart.setSeriesNames (seriesNames, seriesIndex )
ui.Chart
استدلال
تایپ کنید
جزئیات
این: ui.chart
ui.Chart
نمونه ui.Chart.
seriesNames
فرهنگ لغت|فرهنگ<رشته>|فهرست|فهرست<رشته>|رشته
نام سریال های جدید اگر یک رشته باشد، نام سری در seriesIndex روی seriesNames تنظیم می شود. اگر یک لیست است، مقدار شاخص i در لیست به عنوان برچسب سری شماره i استفاده می شود. اگر این یک فرهنگ لغت یا یک شی باشد، به عنوان یک نقشه از نامهای سریهای موجود به نامهای سری جدید در نظر گرفته میشود. در دو مورد آخر، seriesIndex نادیده گرفته می شود.
seriesIndex
شماره، اختیاری
فهرست سری برای تغییر نام. اگر seriesNames یک لیست یا فرهنگ لغت باشد نادیده گرفته می شود. سری ها با 0 نمایه شده اند.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["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"]]