Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 2.46 KB

Project.chart.updatechartdata.md

File metadata and controls

49 lines (33 loc) · 2.46 KB
title keywords f1_keywords ms.service ms.assetid ms.date ms.localizationpriority
Chart.UpdateChartData method (Project)
vbapj.chm131637
vbapj.chm131637
project-server
ecdef74d-480c-05a7-757c-a5c2e3e7359c
06/08/2017
medium

Chart.UpdateChartData method (Project)

Updates the specified Project data on a chart.

Syntax

expression.UpdateChartData (Task, Timephased, GroupName, FilterName, LabelField, OutlineLevel, SafeArrayOfPjField, SafeArrayOfPjTimescaledData, TimeScaleUnit, TimescaleUnitCount, StartDate, FinishDate)

expression A variable that represents a Chart object.

Parameters

Name Required/Optional Data type Description
Task Required Boolean True to update the task data; otherwise, False.
Timephased Required Boolean True to update the timephased data; otherwise, False.
GroupName Optional String The name of the Group2 object (a group of tasks or resources) for the update.
FilterName Optional String The name of the Filter object for the update.
LabelField Optional PjField Specifies the field for the update. Can be one of the PjField constants.
OutlineLevel Optional Integer Specifies the task outline level for the update. The default value is -1, which is all outline levels.
SafeArrayOfPjField Optional Variant Specifies an array of fields for the update, where each item in the array can be a PjField constant.
SafeArrayOfPjTimescaledData Optional Variant Specifies an array of timescaled data for the update, where each item in the array can be a PjTimescaledData constant.
TimeScaleUnit Optional PjTimescaleUnit Specifies a timescale unit for the update. Can be a PjTimescaledUnit constant. The default value is pjTimescaleDays.
TimescaleUnitCount Optional Long Specifies the number of timescale units to be included in the update. The default value is 1. For example, if the unit is pjTimescaleWeeks, a value of 5 indicates five weeks.
StartDate Optional Variant Specifies the start date for the update.
FinishDate Optional Variant Specifies the finish date for the update.

Return value

Nothing

[!includeSupport and feedback]