<?php
$tdatapercentage_b_01_column = array();
$tdatapercentage_b_01_column[".searchableFields"] = array();
$tdatapercentage_b_01_column[".ShortName"] = "percentage_b_01_column";
$tdatapercentage_b_01_column[".OwnerID"] = "";
$tdatapercentage_b_01_column[".OriginalTable"] = "percentage_b_01";


$tdatapercentage_b_01_column[".pagesByType"] = my_json_decode( "{\"chart\":[\"chart\"],\"search\":[\"search\"]}" );
$tdatapercentage_b_01_column[".originalPagesByType"] = $tdatapercentage_b_01_column[".pagesByType"];
$tdatapercentage_b_01_column[".pages"] = types2pages( my_json_decode( "{\"chart\":[\"chart\"],\"search\":[\"search\"]}" ) );
$tdatapercentage_b_01_column[".originalPages"] = $tdatapercentage_b_01_column[".pages"];
$tdatapercentage_b_01_column[".defaultPages"] = my_json_decode( "{\"chart\":\"chart\",\"search\":\"search\"}" );
$tdatapercentage_b_01_column[".originalDefaultPages"] = $tdatapercentage_b_01_column[".defaultPages"];

//	field labels
$fieldLabelspercentage_b_01_column = array();
$fieldToolTipspercentage_b_01_column = array();
$pageTitlespercentage_b_01_column = array();
$placeHolderspercentage_b_01_column = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelspercentage_b_01_column["English"] = array();
	$fieldToolTipspercentage_b_01_column["English"] = array();
	$placeHolderspercentage_b_01_column["English"] = array();
	$pageTitlespercentage_b_01_column["English"] = array();
	$fieldLabelspercentage_b_01_column["English"]["Region"] = "Region";
	$fieldToolTipspercentage_b_01_column["English"]["Region"] = "";
	$placeHolderspercentage_b_01_column["English"]["Region"] = "";
	$fieldLabelspercentage_b_01_column["English"]["numRegion"] = "Num Region";
	$fieldToolTipspercentage_b_01_column["English"]["numRegion"] = "";
	$placeHolderspercentage_b_01_column["English"]["numRegion"] = "";
	$fieldLabelspercentage_b_01_column["English"]["totalPers"] = "Total Pers";
	$fieldToolTipspercentage_b_01_column["English"]["totalPers"] = "";
	$placeHolderspercentage_b_01_column["English"]["totalPers"] = "";
	$fieldLabelspercentage_b_01_column["English"]["voteWith"] = "Vote With";
	$fieldToolTipspercentage_b_01_column["English"]["voteWith"] = "";
	$placeHolderspercentage_b_01_column["English"]["voteWith"] = "";
	$fieldLabelspercentage_b_01_column["English"]["Percentage"] = "Percentage";
	$fieldToolTipspercentage_b_01_column["English"]["Percentage"] = "";
	$placeHolderspercentage_b_01_column["English"]["Percentage"] = "";
	if (count($fieldToolTipspercentage_b_01_column["English"]))
		$tdatapercentage_b_01_column[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="Arabic")
{
	$fieldLabelspercentage_b_01_column["Arabic"] = array();
	$fieldToolTipspercentage_b_01_column["Arabic"] = array();
	$placeHolderspercentage_b_01_column["Arabic"] = array();
	$pageTitlespercentage_b_01_column["Arabic"] = array();
	$fieldLabelspercentage_b_01_column["Arabic"]["Region"] = "Region";
	$fieldToolTipspercentage_b_01_column["Arabic"]["Region"] = "";
	$placeHolderspercentage_b_01_column["Arabic"]["Region"] = "";
	$fieldLabelspercentage_b_01_column["Arabic"]["numRegion"] = "Num Region";
	$fieldToolTipspercentage_b_01_column["Arabic"]["numRegion"] = "";
	$placeHolderspercentage_b_01_column["Arabic"]["numRegion"] = "";
	$fieldLabelspercentage_b_01_column["Arabic"]["totalPers"] = "Total Pers";
	$fieldToolTipspercentage_b_01_column["Arabic"]["totalPers"] = "";
	$placeHolderspercentage_b_01_column["Arabic"]["totalPers"] = "";
	$fieldLabelspercentage_b_01_column["Arabic"]["voteWith"] = "Vote With";
	$fieldToolTipspercentage_b_01_column["Arabic"]["voteWith"] = "";
	$placeHolderspercentage_b_01_column["Arabic"]["voteWith"] = "";
	$fieldLabelspercentage_b_01_column["Arabic"]["Percentage"] = "Percentage";
	$fieldToolTipspercentage_b_01_column["Arabic"]["Percentage"] = "";
	$placeHolderspercentage_b_01_column["Arabic"]["Percentage"] = "";
	if (count($fieldToolTipspercentage_b_01_column["Arabic"]))
		$tdatapercentage_b_01_column[".isUseToolTips"] = true;
}


	$tdatapercentage_b_01_column[".NCSearch"] = true;

	$tdatapercentage_b_01_column[".ChartRefreshTime"] = 0;


$tdatapercentage_b_01_column[".shortTableName"] = "percentage_b_01_column";
$tdatapercentage_b_01_column[".nSecOptions"] = 0;

$tdatapercentage_b_01_column[".mainTableOwnerID"] = "";
$tdatapercentage_b_01_column[".entityType"] = 3;
$tdatapercentage_b_01_column[".connId"] = "electiondb_at_ssl_localhost";


$tdatapercentage_b_01_column[".strOriginalTableName"] = "percentage_b_01";

	



$tdatapercentage_b_01_column[".showAddInPopup"] = false;

$tdatapercentage_b_01_column[".showEditInPopup"] = false;

$tdatapercentage_b_01_column[".showViewInPopup"] = false;

//page's base css files names
$popupPagesLayoutNames = array();
$tdatapercentage_b_01_column[".popupPagesLayoutNames"] = $popupPagesLayoutNames;


$tdatapercentage_b_01_column[".listAjax"] = false;
//	temporary
$tdatapercentage_b_01_column[".listAjax"] = false;

	$tdatapercentage_b_01_column[".audit"] = false;

	$tdatapercentage_b_01_column[".locking"] = false;


$pages = $tdatapercentage_b_01_column[".defaultPages"];

if( $pages[PAGE_EDIT] ) {
	$tdatapercentage_b_01_column[".edit"] = true;
	$tdatapercentage_b_01_column[".afterEditAction"] = 1;
	$tdatapercentage_b_01_column[".closePopupAfterEdit"] = 1;
	$tdatapercentage_b_01_column[".afterEditActionDetTable"] = "";
}

if( $pages[PAGE_ADD] ) {
$tdatapercentage_b_01_column[".add"] = true;
$tdatapercentage_b_01_column[".afterAddAction"] = 1;
$tdatapercentage_b_01_column[".closePopupAfterAdd"] = 1;
$tdatapercentage_b_01_column[".afterAddActionDetTable"] = "";
}

if( $pages[PAGE_LIST] ) {
	$tdatapercentage_b_01_column[".list"] = true;
}



$tdatapercentage_b_01_column[".strSortControlSettingsJSON"] = "";




if( $pages[PAGE_VIEW] ) {
$tdatapercentage_b_01_column[".view"] = true;
}

if( $pages[PAGE_IMPORT] ) {
$tdatapercentage_b_01_column[".import"] = true;
}

if( $pages[PAGE_EXPORT] ) {
$tdatapercentage_b_01_column[".exportTo"] = true;
}

if( $pages[PAGE_PRINT] ) {
$tdatapercentage_b_01_column[".printFriendly"] = true;
}



$tdatapercentage_b_01_column[".showSimpleSearchOptions"] = true; // temp fix #13449

// Allow Show/Hide Fields in GRID
$tdatapercentage_b_01_column[".allowShowHideFields"] = true; // temp fix #13449
//

// Allow Fields Reordering in GRID
$tdatapercentage_b_01_column[".allowFieldsReordering"] = true; // temp fix #13449
//

$tdatapercentage_b_01_column[".isUseAjaxSuggest"] = true;






$tdatapercentage_b_01_column[".ajaxCodeSnippetAdded"] = false;

$tdatapercentage_b_01_column[".buttonsAdded"] = false;

$tdatapercentage_b_01_column[".addPageEvents"] = false;

// use timepicker for search panel
$tdatapercentage_b_01_column[".isUseTimeForSearch"] = false;


$tdatapercentage_b_01_column[".badgeColor"] = "6493EA";


$tdatapercentage_b_01_column[".allSearchFields"] = array();
$tdatapercentage_b_01_column[".filterFields"] = array();
$tdatapercentage_b_01_column[".requiredSearchFields"] = array();

$tdatapercentage_b_01_column[".googleLikeFields"] = array();
$tdatapercentage_b_01_column[".googleLikeFields"][] = "Region";
$tdatapercentage_b_01_column[".googleLikeFields"][] = "numRegion";
$tdatapercentage_b_01_column[".googleLikeFields"][] = "totalPers";
$tdatapercentage_b_01_column[".googleLikeFields"][] = "voteWith";
$tdatapercentage_b_01_column[".googleLikeFields"][] = "Percentage";



$tdatapercentage_b_01_column[".tableType"] = "chart";

$tdatapercentage_b_01_column[".printerPageOrientation"] = 0;
$tdatapercentage_b_01_column[".nPrinterPageScale"] = 100;

$tdatapercentage_b_01_column[".nPrinterSplitRecords"] = 40;

$tdatapercentage_b_01_column[".geocodingEnabled"] = false;



// chart settings
$tdatapercentage_b_01_column[".chartType"] = "2DColumn";
// end of chart settings








$tstrOrderBy = "";
if(strlen($tstrOrderBy) && strtolower(substr($tstrOrderBy,0,8))!="order by")
	$tstrOrderBy = "order by ".$tstrOrderBy;
$tdatapercentage_b_01_column[".strOrderBy"] = $tstrOrderBy;

$tdatapercentage_b_01_column[".orderindexes"] = array();


$tdatapercentage_b_01_column[".sqlHead"] = "SELECT Region,  	numRegion,  	totalPers,  	voteWith,  	Percentage";
$tdatapercentage_b_01_column[".sqlFrom"] = "FROM percentage_b_01";
$tdatapercentage_b_01_column[".sqlWhereExpr"] = "";
$tdatapercentage_b_01_column[".sqlTail"] = "";










//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdatapercentage_b_01_column[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdatapercentage_b_01_column[".arrGroupsPerPage"] = $arrGPP;

$tdatapercentage_b_01_column[".highlightSearchResults"] = true;

$tableKeyspercentage_b_01_column = array();
$tdatapercentage_b_01_column[".Keys"] = $tableKeyspercentage_b_01_column;


$tdatapercentage_b_01_column[".hideMobileList"] = array();




//	Region
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "Region";
	$fdata["GoodName"] = "Region";
	$fdata["ownerTable"] = "percentage_b_01";
	$fdata["Label"] = GetFieldLabel("percentage_b_01_COLUMN","Region");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "Region";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Region";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["chart"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatapercentage_b_01_column["Region"] = $fdata;
		$tdatapercentage_b_01_column[".searchableFields"][] = "Region";
//	numRegion
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "numRegion";
	$fdata["GoodName"] = "numRegion";
	$fdata["ownerTable"] = "percentage_b_01";
	$fdata["Label"] = GetFieldLabel("percentage_b_01_COLUMN","numRegion");
	$fdata["FieldType"] = 2;

	
	
	
			

		$fdata["strField"] = "numRegion";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "numRegion";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["chart"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatapercentage_b_01_column["numRegion"] = $fdata;
		$tdatapercentage_b_01_column[".searchableFields"][] = "numRegion";
//	totalPers
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "totalPers";
	$fdata["GoodName"] = "totalPers";
	$fdata["ownerTable"] = "percentage_b_01";
	$fdata["Label"] = GetFieldLabel("percentage_b_01_COLUMN","totalPers");
	$fdata["FieldType"] = 3;

	
	
	
			

		$fdata["strField"] = "totalPers";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "totalPers";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["chart"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatapercentage_b_01_column["totalPers"] = $fdata;
		$tdatapercentage_b_01_column[".searchableFields"][] = "totalPers";
//	voteWith
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "voteWith";
	$fdata["GoodName"] = "voteWith";
	$fdata["ownerTable"] = "percentage_b_01";
	$fdata["Label"] = GetFieldLabel("percentage_b_01_COLUMN","voteWith");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "voteWith";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "voteWith";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["chart"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=10";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatapercentage_b_01_column["voteWith"] = $fdata;
		$tdatapercentage_b_01_column[".searchableFields"][] = "voteWith";
//	Percentage
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "Percentage";
	$fdata["GoodName"] = "Percentage";
	$fdata["ownerTable"] = "percentage_b_01";
	$fdata["Label"] = GetFieldLabel("percentage_b_01_COLUMN","Percentage");
	$fdata["FieldType"] = 14;

	
	
	
			

		$fdata["strField"] = "Percentage";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Percentage";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Number");

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["chart"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatapercentage_b_01_column["Percentage"] = $fdata;
		$tdatapercentage_b_01_column[".searchableFields"][] = "Percentage";

$tdatapercentage_b_01_column[".chartLabelField"] = "voteWith";
$tdatapercentage_b_01_column[".chartSeries"] = array();
$tdatapercentage_b_01_column[".chartSeries"][] = array( 
	"field" => "Percentage",
	"total" => ""
);
	$tdatapercentage_b_01_column[".chartXml"] = '<chart>
		<attr value="tables">
			<attr value="0">percentage_b_01 COLUMN</attr>
		</attr>
		<attr value="chart_type">
			<attr value="type">2d_column</attr>
		</attr>

		<attr value="parameters">';
	$tdatapercentage_b_01_column[".chartXml"] .= '<attr value="0">
			<attr value="name">Percentage</attr>';
	$tdatapercentage_b_01_column[".chartXml"] .= '</attr>';
	$tdatapercentage_b_01_column[".chartXml"] .= '<attr value="1">
		<attr value="name">voteWith</attr>
	</attr>';
	$tdatapercentage_b_01_column[".chartXml"] .= '</attr>
			<attr value="appearance">';


	$tdatapercentage_b_01_column[".chartXml"] .= '<attr value="head">'.xmlencode("percentage_b_01 COLUMN").'</attr>
<attr value="foot">'.xmlencode("Legend Title").'</attr>
<attr value="y_axis_label">'.xmlencode("numRegion").'</attr>


<attr value="slegend">true</attr>
<attr value="sgrid">false</attr>
<attr value="sname">true</attr>
<attr value="sval">true</attr>
<attr value="sanim">true</attr>
<attr value="sstacked">false</attr>
<attr value="slog">false</attr>
<attr value="aqua">None</attr>
<attr value="cview">Column</attr>
<attr value="is3d">0</attr>
<attr value="isstacked">0</attr>
<attr value="linestyle">0</attr>
<attr value="autoupdate">0</attr>
<attr value="autoupmin">60</attr>';
$tdatapercentage_b_01_column[".chartXml"] .= '</attr>

<attr value="fields">';
	$tdatapercentage_b_01_column[".chartXml"] .= '<attr value="0">
		<attr value="name">Region</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("percentage_b_01_COLUMN","Region")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdatapercentage_b_01_column[".chartXml"] .= '<attr value="1">
		<attr value="name">numRegion</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("percentage_b_01_COLUMN","numRegion")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdatapercentage_b_01_column[".chartXml"] .= '<attr value="2">
		<attr value="name">totalPers</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("percentage_b_01_COLUMN","totalPers")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdatapercentage_b_01_column[".chartXml"] .= '<attr value="3">
		<attr value="name">voteWith</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("percentage_b_01_COLUMN","voteWith")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdatapercentage_b_01_column[".chartXml"] .= '<attr value="4">
		<attr value="name">Percentage</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("percentage_b_01_COLUMN","Percentage")).'</attr>
		<attr value="search"></attr>
	</attr>';
$tdatapercentage_b_01_column[".chartXml"] .= '</attr>


<attr value="settings">
<attr value="name">percentage_b_01 COLUMN</attr>
<attr value="short_table_name">percentage_b_01_column</attr>
</attr>

</chart>';

$tables_data["percentage_b_01 COLUMN"]=&$tdatapercentage_b_01_column;
$field_labels["percentage_b_01_COLUMN"] = &$fieldLabelspercentage_b_01_column;
$fieldToolTips["percentage_b_01_COLUMN"] = &$fieldToolTipspercentage_b_01_column;
$placeHolders["percentage_b_01_COLUMN"] = &$placeHolderspercentage_b_01_column;
$page_titles["percentage_b_01_COLUMN"] = &$pageTitlespercentage_b_01_column;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["percentage_b_01 COLUMN"] = array();

// tables which are master tables for current table (detail)
$masterTablesData["percentage_b_01 COLUMN"] = array();



// -----------------end  prepare master-details data arrays ------------------------------//



require_once(getabspath("classes/sql.php"));











function createSqlQuery_percentage_b_01_column()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "Region,  	numRegion,  	totalPers,  	voteWith,  	Percentage";
$proto0["m_strFrom"] = "FROM percentage_b_01";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "";
	
		;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "";
$proto2["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto2["m_column"]=$obj;
$proto2["m_contained"] = array();
$proto2["m_strCase"] = "";
$proto2["m_havingmode"] = false;
$proto2["m_inBrackets"] = false;
$proto2["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto2);

$proto0["m_where"] = $obj;
$proto4=array();
$proto4["m_sql"] = "";
$proto4["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto4["m_column"]=$obj;
$proto4["m_contained"] = array();
$proto4["m_strCase"] = "";
$proto4["m_havingmode"] = false;
$proto4["m_inBrackets"] = false;
$proto4["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto4);

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto6=array();
			$obj = new SQLField(array(
	"m_strName" => "Region",
	"m_strTable" => "percentage_b_01",
	"m_srcTableName" => "percentage_b_01 COLUMN"
));

$proto6["m_sql"] = "Region";
$proto6["m_srcTableName"] = "percentage_b_01 COLUMN";
$proto6["m_expr"]=$obj;
$proto6["m_alias"] = "";
$obj = new SQLFieldListItem($proto6);

$proto0["m_fieldlist"][]=$obj;
						$proto8=array();
			$obj = new SQLField(array(
	"m_strName" => "numRegion",
	"m_strTable" => "percentage_b_01",
	"m_srcTableName" => "percentage_b_01 COLUMN"
));

$proto8["m_sql"] = "numRegion";
$proto8["m_srcTableName"] = "percentage_b_01 COLUMN";
$proto8["m_expr"]=$obj;
$proto8["m_alias"] = "";
$obj = new SQLFieldListItem($proto8);

$proto0["m_fieldlist"][]=$obj;
						$proto10=array();
			$obj = new SQLField(array(
	"m_strName" => "totalPers",
	"m_strTable" => "percentage_b_01",
	"m_srcTableName" => "percentage_b_01 COLUMN"
));

$proto10["m_sql"] = "totalPers";
$proto10["m_srcTableName"] = "percentage_b_01 COLUMN";
$proto10["m_expr"]=$obj;
$proto10["m_alias"] = "";
$obj = new SQLFieldListItem($proto10);

$proto0["m_fieldlist"][]=$obj;
						$proto12=array();
			$obj = new SQLField(array(
	"m_strName" => "voteWith",
	"m_strTable" => "percentage_b_01",
	"m_srcTableName" => "percentage_b_01 COLUMN"
));

$proto12["m_sql"] = "voteWith";
$proto12["m_srcTableName"] = "percentage_b_01 COLUMN";
$proto12["m_expr"]=$obj;
$proto12["m_alias"] = "";
$obj = new SQLFieldListItem($proto12);

$proto0["m_fieldlist"][]=$obj;
						$proto14=array();
			$obj = new SQLField(array(
	"m_strName" => "Percentage",
	"m_strTable" => "percentage_b_01",
	"m_srcTableName" => "percentage_b_01 COLUMN"
));

$proto14["m_sql"] = "Percentage";
$proto14["m_srcTableName"] = "percentage_b_01 COLUMN";
$proto14["m_expr"]=$obj;
$proto14["m_alias"] = "";
$obj = new SQLFieldListItem($proto14);

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto16=array();
$proto16["m_link"] = "SQLL_MAIN";
			$proto17=array();
$proto17["m_strName"] = "percentage_b_01";
$proto17["m_srcTableName"] = "percentage_b_01 COLUMN";
$proto17["m_columns"] = array();
$proto17["m_columns"][] = "Region";
$proto17["m_columns"][] = "numRegion";
$proto17["m_columns"][] = "totalPers";
$proto17["m_columns"][] = "voteWith";
$proto17["m_columns"][] = "Percentage";
$obj = new SQLTable($proto17);

$proto16["m_table"] = $obj;
$proto16["m_sql"] = "percentage_b_01";
$proto16["m_alias"] = "";
$proto16["m_srcTableName"] = "percentage_b_01 COLUMN";
$proto18=array();
$proto18["m_sql"] = "";
$proto18["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto18["m_column"]=$obj;
$proto18["m_contained"] = array();
$proto18["m_strCase"] = "";
$proto18["m_havingmode"] = false;
$proto18["m_inBrackets"] = false;
$proto18["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto18);

$proto16["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto16);

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
$proto0["m_srcTableName"]="percentage_b_01 COLUMN";		
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_percentage_b_01_column = createSqlQuery_percentage_b_01_column();


	
		;

					

$tdatapercentage_b_01_column[".sqlquery"] = $queryData_percentage_b_01_column;



$tableEvents["percentage_b_01 COLUMN"] = new eventsBase;
$tdatapercentage_b_01_column[".hasEvents"] = false;

?>