Added EscapeString method
ChartObject databaseid is string