Table of Contents

Class MostCriticalItems

Namespace
Dynamicweb.Ecommerce.Statistics
Assembly
Dynamicweb.Ecommerce.dll
Represents the statistic about the most critical items.
[AddInName("Most Critical Items")]
[AddInDescription("Shows Most Critical Items - lowest in stock")]
[AddInGroup("Products")]
[AddInImage("MostCriticalItems.png")]
public class MostCriticalItems : StatisticsProvider, IDropDownOptions
Inheritance
MostCriticalItems
Implements
Inherited Members

Properties

ColorColumn

Gets the color column name.
public override string ColorColumn { get; }

Property Value

string

Data

Gets the data table.
public override DataTable Data { get; }

Property Value

DataTable

DefaultGraph

Gets the default graph type.
public override GraphType DefaultGraph { get; }

Property Value

GraphType

Language

Gets or sets the language value for statistic filter.
[AddInParameter("Language")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "none=false")]
public string Language { get; set; }

Property Value

string

ParentGroup

Gets or set the parent group.
[AddInParameter("Parent group")]
[AddInParameterEditor(typeof(ProductGroupParameterEditor), "")]
public string ParentGroup { get; set; }

Property Value

string

Prefix

Gets the prefix.
public override string Prefix { get; }

Property Value

string

Shop

Gets or sets shop value for statistics filter.
[AddInParameter("Shop")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "nonetext=Alle")]
public string Shop { get; set; }

Property Value

string

SubGroups

gets or sets the sub groups.
[AddInParameter("Sub groups")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool SubGroups { get; set; }

Property Value

bool

XAxisColumn

Gets the X-axis column name.
public override string XAxisColumn { get; }

Property Value

string

YAxisColumn

Gets the Y-axis column name.
public override string YAxisColumn { get; }

Property Value

string

Methods

GetOptions(string)

Implements IDropDownOptions.GetOptions method, and used for DropDownLists control.
public Hashtable GetOptions(string name)

Parameters

name string

Returns

Hashtable
Hashtable with specified control options.

GetSubGroups(Group, Shop, string, int)

Gets the subgroups.
public string GetSubGroups(Group group, Shop shop, string groupIds, int counter)

Parameters

group Group
The group.
shop Shop
The shop.
groupIds string
Subgroup ids.
counter int
The counter.

Returns

string
Subgroup ids.
To top