view release on metacpan or search on metacpan
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
#
# GetWorksheetChartLegendRequest
#
# Retrieve chart legend description in the worksheet.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @chartIndex int (required) The chart index.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'GetWorksheetChartLegendRequest',
description => 'GetWorksheetChartLegend Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'get_worksheet_chart_legend' } = {
summary => 'Retrieve chart legend description in the worksheet.',
params => $params,
returns => 'LegendResponse',
};
}
#
# @return LegendResponse
#
sub get_worksheet_chart_legend{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('LegendResponse', $response);
return $_response_object;
}
#
# PostWorksheetChartLegendRequest
#
# Update chart legend in the worksheet.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @chartIndex int (required) The chart index.
# @legend Legend (required)
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'PostWorksheetChartLegendRequest',
description => 'PostWorksheetChartLegend Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_worksheet_chart_legend' } = {
summary => 'Update chart legend in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub post_worksheet_chart_legend{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
#
# PutWorksheetChartLegendRequest
#
# Show chart legend in the worksheet.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @chartIndex int (required) The chart index.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'PutWorksheetChartLegendRequest',
description => 'PutWorksheetChartLegend Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'put_worksheet_chart_legend' } = {
summary => 'Show chart legend in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub put_worksheet_chart_legend{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
#
# DeleteWorksheetChartLegendRequest
#
# Hides chart legend in the worksheet.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @chartIndex int (required) The chart index.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'DeleteWorksheetChartLegendRequest',
description => 'DeleteWorksheetChartLegend Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'delete_worksheet_chart_legend' } = {
summary => 'Hides chart legend in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub delete_worksheet_chart_legend{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
lib/AsposeCellsCloud/Object/Chart.pm view on Meta::CPAN
format => '',
read_only => '',
},
'is_rectangular_cornered' => {
datatype => 'boolean',
base_name => 'IsRectangularCornered',
description => 'Gets or sets a value indicating whether the chart area is rectangular cornered. Default is true.',
format => '',
read_only => '',
},
'legend' => {
datatype => 'Legend',
base_name => 'Legend',
description => 'Gets the chart legend.',
format => '',
read_only => '',
},
'name' => {
datatype => 'string',
base_name => 'Name',
description => 'Represents chart name.',
format => '',
read_only => '',
},
lib/AsposeCellsCloud/Object/Chart.pm view on Meta::CPAN
format => '',
read_only => '',
},
'show_data_table' => {
datatype => 'boolean',
base_name => 'ShowDataTable',
description => 'Gets or sets a value indicating whether the chart displays a data table.',
format => '',
read_only => '',
},
'show_legend' => {
datatype => 'boolean',
base_name => 'ShowLegend',
description => 'Gets or sets a value indicating whether the chart legend will be displayed. Default is true.',
format => '',
read_only => '',
},
'side_wall' => {
datatype => 'LinkElement',
base_name => 'SideWall',
description => 'Returns a object that represents the side wall of a 3-D chart.',
format => '',
read_only => '',
},
lib/AsposeCellsCloud/Object/Chart.pm view on Meta::CPAN
'depth_percent' => 'int',
'elevation' => 'int',
'first_slice_angle' => 'int',
'floor' => 'Floor',
'gap_depth' => 'int',
'gap_width' => 'int',
'height_percent' => 'int',
'hide_pivot_field_buttons' => 'boolean',
'is3_d' => 'boolean',
'is_rectangular_cornered' => 'boolean',
'legend' => 'Legend',
'name' => 'string',
'n_series' => 'SeriesItems',
'page_setup' => 'LinkElement',
'perspective' => 'int',
'pivot_source' => 'string',
'placement' => 'string',
'plot_area' => 'PlotArea',
'plot_empty_cells_type' => 'string',
'plot_visible_cells' => 'boolean',
'print_size' => 'string',
'right_angle_axes' => 'boolean',
'rotation_angle' => 'int',
'second_category_axis' => 'LinkElement',
'second_value_axis' => 'LinkElement',
'series_axis' => 'LinkElement',
'shapes' => 'LinkElement',
'show_data_table' => 'boolean',
'show_legend' => 'boolean',
'side_wall' => 'LinkElement',
'size_with_window' => 'boolean',
'style' => 'int',
'title' => 'LinkElement',
'type' => 'string',
'value_axis' => 'Axis',
'walls' => 'LinkElement',
'walls_and_gridlines2_d' => 'boolean',
'link' => 'Link'
} );
lib/AsposeCellsCloud/Object/Chart.pm view on Meta::CPAN
'depth_percent' => 'DepthPercent',
'elevation' => 'Elevation',
'first_slice_angle' => 'FirstSliceAngle',
'floor' => 'Floor',
'gap_depth' => 'GapDepth',
'gap_width' => 'GapWidth',
'height_percent' => 'HeightPercent',
'hide_pivot_field_buttons' => 'HidePivotFieldButtons',
'is3_d' => 'Is3D',
'is_rectangular_cornered' => 'IsRectangularCornered',
'legend' => 'Legend',
'name' => 'Name',
'n_series' => 'NSeries',
'page_setup' => 'PageSetup',
'perspective' => 'Perspective',
'pivot_source' => 'PivotSource',
'placement' => 'Placement',
'plot_area' => 'PlotArea',
'plot_empty_cells_type' => 'PlotEmptyCellsType',
'plot_visible_cells' => 'PlotVisibleCells',
'print_size' => 'PrintSize',
'right_angle_axes' => 'RightAngleAxes',
'rotation_angle' => 'RotationAngle',
'second_category_axis' => 'SecondCategoryAxis',
'second_value_axis' => 'SecondValueAxis',
'series_axis' => 'SeriesAxis',
'shapes' => 'Shapes',
'show_data_table' => 'ShowDataTable',
'show_legend' => 'ShowLegend',
'side_wall' => 'SideWall',
'size_with_window' => 'SizeWithWindow',
'style' => 'Style',
'title' => 'Title',
'type' => 'Type',
'value_axis' => 'ValueAxis',
'walls' => 'Walls',
'walls_and_gridlines2_d' => 'WallsAndGridlines2D',
'link' => 'link'
} );
lib/AsposeCellsCloud/Object/ChartDataTable.pm view on Meta::CPAN
format => '',
read_only => '',
},
'has_border_vertical' => {
datatype => 'boolean',
base_name => 'HasBorderVertical',
description => 'True if the chart data table has vertical cell borders',
format => '',
read_only => '',
},
'show_legend_key' => {
datatype => 'boolean',
base_name => 'ShowLegendKey',
description => 'True if the data label legend key is visible.',
format => '',
read_only => '',
},
'link' => {
datatype => 'Link',
base_name => 'link',
description => '',
format => '',
read_only => '',
},
});
__PACKAGE__->swagger_types( {
'auto_scale_font' => 'boolean',
'background_mode' => 'string',
'border' => 'Line',
'font' => 'Font',
'has_border_horizontal' => 'boolean',
'has_border_outline' => 'boolean',
'has_border_vertical' => 'boolean',
'show_legend_key' => 'boolean',
'link' => 'Link'
} );
__PACKAGE__->attribute_map( {
'auto_scale_font' => 'AutoScaleFont',
'background_mode' => 'BackgroundMode',
'border' => 'Border',
'font' => 'Font',
'has_border_horizontal' => 'HasBorderHorizontal',
'has_border_outline' => 'HasBorderOutline',
'has_border_vertical' => 'HasBorderVertical',
'show_legend_key' => 'ShowLegendKey',
'link' => 'link'
} );
__PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
1;
lib/AsposeCellsCloud/Object/DataLabels.pm view on Meta::CPAN
format => '',
read_only => '',
},
'show_category_name' => {
datatype => 'boolean',
base_name => 'ShowCategoryName',
description => 'Represents a specified chart`s data label category name display behavior.True to display the category name for the data labels on a chart. False to hide.',
format => '',
read_only => '',
},
'show_legend_key' => {
datatype => 'boolean',
base_name => 'ShowLegendKey',
description => 'Represents a specified chart`s data label legend key display behavior. True if the data label legend key is visible.',
format => '',
read_only => '',
},
'show_percentage' => {
datatype => 'boolean',
base_name => 'ShowPercentage',
description => 'Represents a specified chart`s data label percentage value display behavior. True displays the percentage value. False to hide.',
format => '',
read_only => '',
},
lib/AsposeCellsCloud/Object/DataLabels.pm view on Meta::CPAN
'is_deleted' => 'boolean',
'linked_source' => 'string',
'number' => 'int',
'number_format' => 'string',
'number_format_linked' => 'boolean',
'position' => 'string',
'rotation_angle' => 'int',
'separator' => 'string',
'show_bubble_size' => 'boolean',
'show_category_name' => 'boolean',
'show_legend_key' => 'boolean',
'show_percentage' => 'boolean',
'show_series_name' => 'boolean',
'show_value' => 'boolean',
'text' => 'string',
'text_direction' => 'string',
'text_horizontal_alignment' => 'string',
'text_vertical_alignment' => 'string',
'area' => 'Area',
'auto_scale_font' => 'boolean',
'background_mode' => 'string',
lib/AsposeCellsCloud/Object/DataLabels.pm view on Meta::CPAN
'is_deleted' => 'IsDeleted',
'linked_source' => 'LinkedSource',
'number' => 'Number',
'number_format' => 'NumberFormat',
'number_format_linked' => 'NumberFormatLinked',
'position' => 'Position',
'rotation_angle' => 'RotationAngle',
'separator' => 'Separator',
'show_bubble_size' => 'ShowBubbleSize',
'show_category_name' => 'ShowCategoryName',
'show_legend_key' => 'ShowLegendKey',
'show_percentage' => 'ShowPercentage',
'show_series_name' => 'ShowSeriesName',
'show_value' => 'ShowValue',
'text' => 'Text',
'text_direction' => 'TextDirection',
'text_horizontal_alignment' => 'TextHorizontalAlignment',
'text_vertical_alignment' => 'TextVerticalAlignment',
'area' => 'Area',
'auto_scale_font' => 'AutoScaleFont',
'background_mode' => 'BackgroundMode',
lib/AsposeCellsCloud/Object/Legend.pm view on Meta::CPAN
return DateTime->from_epoch(epoch => str2time($data));
} elsif ( grep( /^$type$/, ('int', 'double', 'string', 'boolean'))) {
return $data;
} else { # hash(model)
my $_instance = eval "AsposeCellsCloud::Object::$type->new()";
return $_instance->from_hash($data);
}
}
__PACKAGE__->class_documentation({description => 'Encapsulates the object that represents the chart legend.',
class => 'Legend',
required => [], # TODO
} );
__PACKAGE__->method_documentation({
'position' => {
datatype => 'string',
base_name => 'Position',
description => 'Gets or sets the legend position type.',
format => '',
read_only => '',
},
'legend_entries' => {
datatype => 'LinkElement',
base_name => 'LegendEntries',
description => 'Gets a collection of all the LegendEntry objects in the specified chart legend. Setting the legend entries of the surface chart is not supported. So it will return null if the chart ...
format => '',
read_only => '',
},
'area' => {
datatype => 'Area',
base_name => 'Area',
description => '',
format => '',
read_only => '',
},
lib/AsposeCellsCloud/Object/Legend.pm view on Meta::CPAN
datatype => 'int',
base_name => 'Y',
description => '',
format => '',
read_only => '',
},
});
__PACKAGE__->swagger_types( {
'position' => 'string',
'legend_entries' => 'LinkElement',
'area' => 'Area',
'auto_scale_font' => 'boolean',
'background_mode' => 'string',
'border' => 'Line',
'font' => 'Font',
'is_automatic_size' => 'boolean',
'is_inner_mode' => 'boolean',
'shadow' => 'boolean',
'width' => 'int',
'height' => 'int',
'x' => 'int',
'y' => 'int'
} );
__PACKAGE__->attribute_map( {
'position' => 'Position',
'legend_entries' => 'LegendEntries',
'area' => 'Area',
'auto_scale_font' => 'AutoScaleFont',
'background_mode' => 'BackgroundMode',
'border' => 'Border',
'font' => 'Font',
'is_automatic_size' => 'IsAutomaticSize',
'is_inner_mode' => 'IsInnerMode',
'shadow' => 'Shadow',
'width' => 'Width',
'height' => 'Height',
lib/AsposeCellsCloud/Object/LegendEntries.pm view on Meta::CPAN
}
__PACKAGE__->class_documentation({description => 'Sure, please provide me with the features you would like me to summarize in one sentence for the class summary.',
class => 'LegendEntries',
required => [], # TODO
} );
__PACKAGE__->method_documentation({
'legend_entry_list' => {
datatype => 'ARRAY[LinkElement]',
base_name => 'legendEntryList',
description => 'Property: Utilizes XML element "LengendEntry" to represent a list of LinkElement items in the class.',
format => '',
read_only => '',
},
'link' => {
datatype => 'Link',
base_name => 'link',
description => '',
format => '',
read_only => '',
},
});
__PACKAGE__->swagger_types( {
'legend_entry_list' => 'ARRAY[LinkElement]',
'link' => 'Link'
} );
__PACKAGE__->attribute_map( {
'legend_entry_list' => 'legendEntryList',
'link' => 'link'
} );
__PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
1;
lib/AsposeCellsCloud/Object/LegendEntriesResponse.pm view on Meta::CPAN
}
__PACKAGE__->class_documentation({description => 'Represents the LegendEntries Response.',
class => 'LegendEntriesResponse',
required => [], # TODO
} );
__PACKAGE__->method_documentation({
'legend_entries' => {
datatype => 'LegendEntries',
base_name => 'LegendEntries',
description => 'Property Summary: The class includes a property for managing legend entries.',
format => '',
read_only => '',
},
'code' => {
datatype => 'int',
base_name => 'Code',
description => '',
format => '',
read_only => '',
},
'status' => {
datatype => 'string',
base_name => 'Status',
description => '',
format => '',
read_only => '',
},
});
__PACKAGE__->swagger_types( {
'legend_entries' => 'LegendEntries',
'code' => 'int',
'status' => 'string'
} );
__PACKAGE__->attribute_map( {
'legend_entries' => 'LegendEntries',
'code' => 'Code',
'status' => 'Status'
} );
__PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
1;
lib/AsposeCellsCloud/Object/LegendEntry.pm view on Meta::CPAN
return DateTime->from_epoch(epoch => str2time($data));
} elsif ( grep( /^$type$/, ('int', 'double', 'string', 'boolean'))) {
return $data;
} else { # hash(model)
my $_instance = eval "AsposeCellsCloud::Object::$type->new()";
return $_instance->from_hash($data);
}
}
__PACKAGE__->class_documentation({description => 'Represents a legend entry in a chart legend.',
class => 'LegendEntry',
required => [], # TODO
} );
__PACKAGE__->method_documentation({
'auto_scale_font' => {
datatype => 'boolean',
base_name => 'AutoScaleFont',
description => 'True if the text in the object changes font size when the object size changes. The default value is True.',
lib/AsposeCellsCloud/Object/LegendEntry.pm view on Meta::CPAN
'font' => {
datatype => 'Font',
base_name => 'Font',
description => 'Gets a object of the specified ChartFrame object.',
format => '',
read_only => '',
},
'is_deleted' => {
datatype => 'boolean',
base_name => 'IsDeleted',
description => 'Gets and sets whether the legend entry is deleted.',
format => '',
read_only => '',
},
'link' => {
datatype => 'Link',
base_name => 'link',
description => '',
format => '',
read_only => '',
},
lib/AsposeCellsCloud/Object/LegendEntryResponse.pm view on Meta::CPAN
}
__PACKAGE__->class_documentation({description => 'Represents the LegendEntry Response.',
class => 'LegendEntryResponse',
required => [], # TODO
} );
__PACKAGE__->method_documentation({
'legend_entry' => {
datatype => 'LegendEntry',
base_name => 'LegendEntry',
description => 'A public property called LegendEntry of type LegendEntry with both getter and setter methods.',
format => '',
read_only => '',
},
'code' => {
datatype => 'int',
base_name => 'Code',
description => '',
lib/AsposeCellsCloud/Object/LegendEntryResponse.pm view on Meta::CPAN
'status' => {
datatype => 'string',
base_name => 'Status',
description => '',
format => '',
read_only => '',
},
});
__PACKAGE__->swagger_types( {
'legend_entry' => 'LegendEntry',
'code' => 'int',
'status' => 'string'
} );
__PACKAGE__->attribute_map( {
'legend_entry' => 'LegendEntry',
'code' => 'Code',
'status' => 'Status'
} );
__PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
1;
lib/AsposeCellsCloud/Object/LegendResponse.pm view on Meta::CPAN
}
__PACKAGE__->class_documentation({description => 'Represents the Legend Response.',
class => 'LegendResponse',
required => [], # TODO
} );
__PACKAGE__->method_documentation({
'legend' => {
datatype => 'Legend',
base_name => 'Legend',
description => 'This class has a public property called "Legend" of type "Legend" which has both a getter and a setter.',
format => '',
read_only => '',
},
'code' => {
datatype => 'int',
base_name => 'Code',
description => '',
lib/AsposeCellsCloud/Object/LegendResponse.pm view on Meta::CPAN
'status' => {
datatype => 'string',
base_name => 'Status',
description => '',
format => '',
read_only => '',
},
});
__PACKAGE__->swagger_types( {
'legend' => 'Legend',
'code' => 'int',
'status' => 'string'
} );
__PACKAGE__->attribute_map( {
'legend' => 'Legend',
'code' => 'Code',
'status' => 'Status'
} );
__PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
1;
lib/AsposeCellsCloud/Object/Series.pm view on Meta::CPAN
format => '',
read_only => '',
},
'leader_lines' => {
datatype => 'Line',
base_name => 'LeaderLines',
description => 'Represents leader lines on a chart. Leader lines connect data labels to data points. This object isnât a collection; thereâs no object that represents a single leader line.',
format => '',
read_only => '',
},
'legend_entry' => {
datatype => 'LegendEntry',
base_name => 'LegendEntry',
description => 'Gets the legend entry according to this series.',
format => '',
read_only => '',
},
'marker' => {
datatype => 'Marker',
base_name => 'Marker',
description => 'Gets the marker.',
format => '',
read_only => '',
},
lib/AsposeCellsCloud/Object/Series.pm view on Meta::CPAN
'has_drop_lines' => 'boolean',
'has_hi_lo_lines' => 'boolean',
'has_leader_lines' => 'boolean',
'has_radar_axis_labels' => 'boolean',
'has_series_lines' => 'boolean',
'has_up_down_bars' => 'boolean',
'hi_lo_lines' => 'Line',
'is_auto_split' => 'boolean',
'is_color_varied' => 'boolean',
'leader_lines' => 'Line',
'legend_entry' => 'LegendEntry',
'marker' => 'Marker',
'name' => 'string',
'overlap' => 'int',
'plot_on_second_axis' => 'boolean',
'points' => 'LinkElement',
'second_plot_size' => 'int',
'series_lines' => 'Line',
'shadow' => 'boolean',
'show_negative_bubbles' => 'boolean',
'size_represents' => 'string',
lib/AsposeCellsCloud/Object/Series.pm view on Meta::CPAN
'has_drop_lines' => 'HasDropLines',
'has_hi_lo_lines' => 'HasHiLoLines',
'has_leader_lines' => 'HasLeaderLines',
'has_radar_axis_labels' => 'HasRadarAxisLabels',
'has_series_lines' => 'HasSeriesLines',
'has_up_down_bars' => 'HasUpDownBars',
'hi_lo_lines' => 'HiLoLines',
'is_auto_split' => 'IsAutoSplit',
'is_color_varied' => 'IsColorVaried',
'leader_lines' => 'LeaderLines',
'legend_entry' => 'LegendEntry',
'marker' => 'Marker',
'name' => 'Name',
'overlap' => 'Overlap',
'plot_on_second_axis' => 'PlotOnSecondAxis',
'points' => 'Points',
'second_plot_size' => 'SecondPlotSize',
'series_lines' => 'SeriesLines',
'shadow' => 'Shadow',
'show_negative_bubbles' => 'ShowNegativeBubbles',
'size_represents' => 'SizeRepresents',
lib/AsposeCellsCloud/Object/Trendline.pm view on Meta::CPAN
format => '',
read_only => '',
},
'is_name_auto' => {
datatype => 'boolean',
base_name => 'IsNameAuto',
description => 'Returns if Microsoft Excel automatically determines the name of the trendline.',
format => '',
read_only => '',
},
'legend_entry' => {
datatype => 'LegendEntry',
base_name => 'LegendEntry',
description => 'Gets the legend entry according to this trendline',
format => '',
read_only => '',
},
'name' => {
datatype => 'string',
base_name => 'Name',
description => 'Returns the name of the trendline.',
format => '',
read_only => '',
},
lib/AsposeCellsCloud/Object/Trendline.pm view on Meta::CPAN
__PACKAGE__->swagger_types( {
'link' => 'Link',
'backward' => 'double',
'data_labels' => 'DataLabels',
'display_equation' => 'boolean',
'display_r_squared' => 'boolean',
'forward' => 'double',
'intercept' => 'double',
'is_name_auto' => 'boolean',
'legend_entry' => 'LegendEntry',
'name' => 'string',
'order' => 'int',
'period' => 'int',
'type' => 'string',
'begin_arrow_length' => 'string',
'begin_arrow_width' => 'string',
'begin_type' => 'string',
'cap_type' => 'string',
'color' => 'Color',
'compound_type' => 'string',
lib/AsposeCellsCloud/Object/Trendline.pm view on Meta::CPAN
__PACKAGE__->attribute_map( {
'link' => 'link',
'backward' => 'Backward',
'data_labels' => 'DataLabels',
'display_equation' => 'DisplayEquation',
'display_r_squared' => 'DisplayRSquared',
'forward' => 'Forward',
'intercept' => 'Intercept',
'is_name_auto' => 'IsNameAuto',
'legend_entry' => 'LegendEntry',
'name' => 'Name',
'order' => 'Order',
'period' => 'Period',
'type' => 'Type',
'begin_arrow_length' => 'BeginArrowLength',
'begin_arrow_width' => 'BeginArrowWidth',
'begin_type' => 'BeginType',
'cap_type' => 'CapType',
'color' => 'Color',
'compound_type' => 'CompoundType',
lib/AsposeCellsCloud/Request/DeleteWorksheetChartLegendRequest.pm view on Meta::CPAN
# DeleteWorksheetChartLegendRequest.storageName : The storage name where the file is situated.
{
my $params = {
'client' =>{
data_type => 'ApiClient',
description => 'API Client.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'delete_worksheet_chart_legend' } = {
summary => 'Hides chart legend in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
sub run_http_request {
my ($self, %args) = @_;
my $client = $args{'client'};
# parse inputs
my $_resource_path = 'v3.0/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/legend';
my $_method = 'DELETE';
my $query_params = {};
my $header_params = {};
my $form_params = {};
my $_header_accept = $client->select_header_accept('application/json');
if ($_header_accept) {
$header_params->{'Accept'} = $_header_accept;
lib/AsposeCellsCloud/Request/GetWorksheetChartLegendRequest.pm view on Meta::CPAN
# GetWorksheetChartLegendRequest.storageName : The storage name where the file is situated.
{
my $params = {
'client' =>{
data_type => 'ApiClient',
description => 'API Client.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'get_worksheet_chart_legend' } = {
summary => 'Retrieve chart legend description in the worksheet.',
params => $params,
returns => 'LegendResponse',
};
}
sub run_http_request {
my ($self, %args) = @_;
my $client = $args{'client'};
# parse inputs
my $_resource_path = 'v3.0/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/legend';
my $_method = 'GET';
my $query_params = {};
my $header_params = {};
my $form_params = {};
my $_header_accept = $client->select_header_accept('application/json');
if ($_header_accept) {
$header_params->{'Accept'} = $_header_accept;
lib/AsposeCellsCloud/Request/PostWorksheetChartLegendRequest.pm view on Meta::CPAN
}
return $self;
}
# Run Operation Request
# PostWorksheetChartLegendRequest.name : The file name. ,
# PostWorksheetChartLegendRequest.sheetName : The worksheet name. ,
# PostWorksheetChartLegendRequest.chartIndex : The chart index. ,
# PostWorksheetChartLegendRequest.legend : ,
# PostWorksheetChartLegendRequest.folder : The folder where the file is situated. ,
# PostWorksheetChartLegendRequest.storageName : The storage name where the file is situated.
{
my $params = {
'client' =>{
data_type => 'ApiClient',
description => 'API Client.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_worksheet_chart_legend' } = {
summary => 'Update chart legend in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
sub run_http_request {
my ($self, %args) = @_;
my $client = $args{'client'};
# parse inputs
my $_resource_path = 'v3.0/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/legend';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};
my $_header_accept = $client->select_header_accept('application/json');
if ($_header_accept) {
$header_params->{'Accept'} = $_header_accept;
lib/AsposeCellsCloud/Request/PostWorksheetChartLegendRequest.pm view on Meta::CPAN
$query_params->{'folder'} = $client->to_query_value($self->folder);
}
if(defined $self->storage_name){
$query_params->{'storageName'} = $client->to_query_value($self->storage_name);
}
my $_body_data;
# body params
if (defined $self->legend) {
$_body_data = JSON->new->convert_blessed->encode( $self->legend);
}
# authentication setting, if any
my $auth_settings = [qw()];
# make the API Call
my $response = $client->call_api($_resource_path, $_method, $query_params, $form_params, $header_params, $_body_data, $auth_settings);
return $response;
lib/AsposeCellsCloud/Request/PostWorksheetChartLegendRequest.pm view on Meta::CPAN
format => '',
read_only => '',
},
'chart_index' => {
datatype => 'int',
base_name => 'chartIndex',
description => 'The chart index.',
format => '',
read_only => '',
},
'legend' => {
datatype => 'Legend',
base_name => 'legend',
description => '',
format => '',
read_only => '',
},
'folder' => {
datatype => 'string',
base_name => 'folder',
description => 'The folder where the file is situated.',
format => '',
read_only => '',
lib/AsposeCellsCloud/Request/PostWorksheetChartLegendRequest.pm view on Meta::CPAN
format => '',
read_only => '',
},
});
__PACKAGE__->attribute_map( {
'name' => 'name',
'sheet_name' => 'sheetName',
'chart_index' => 'chartIndex',
'legend' => 'legend',
'folder' => 'folder',
'storage_name' => 'storageName'
} );
__PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
1;
lib/AsposeCellsCloud/Request/PutWorksheetChartLegendRequest.pm view on Meta::CPAN
# PutWorksheetChartLegendRequest.storageName : The storage name where the file is situated.
{
my $params = {
'client' =>{
data_type => 'ApiClient',
description => 'API Client.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'put_worksheet_chart_legend' } = {
summary => 'Show chart legend in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
sub run_http_request {
my ($self, %args) = @_;
my $client = $args{'client'};
# parse inputs
my $_resource_path = 'v3.0/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/legend';
my $_method = 'PUT';
my $query_params = {};
my $header_params = {};
my $form_params = {};
my $_header_accept = $client->select_header_accept('application/json');
if ($_header_accept) {
$header_params->{'Accept'} = $_header_accept;