public override DataObjectEditor GetEditor()
{
BarEditor barEditor = new BarEditor();
BarType barType;
long barSize;
if (!DataSeriesNameHelper.TryGetBarTypeSize(this.dataSeries, out barType, out barSize))
{
barType = BarType.Time;
barSize = 0L;
}
barEditor.InitBarSettings(barType, barSize);
return (DataObjectEditor) barEditor;
}