351
Is it possible to reorder just the series by drag and drop
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutAllowMoveValue(EXGRAPHLib::AllowKeysEnum(0x100 | EXGRAPHLib::exLeftClick));
spGraph1->GetCategoryAxis()->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
	EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add("Electronics(350),Clothing(200),Books(150)",long(2001));
		var_Serie->PutStack(L"A");
		var_Serie->PutShowValue(EXGRAPHLib::exPoint);
	EXGRAPHLib::ISeriePtr var_Serie1 = var_Series->Add("Electronics(500),Clothing(150),Books(180)",long(2002));
		var_Serie1->PutStack(L"A");
		var_Serie1->PutShowValue(EXGRAPHLib::exPoint);
spGraph1->PutValuePoint(L"16,white,black");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

350
Is it possible to reorder just the values by drag and drop (method 2)
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutAllowMoveValue(EXGRAPHLib::AllowKeysEnum(0x200 | EXGRAPHLib::exLeftClick));
spGraph1->GetCategoryAxis()->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
	EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add("Electronics(350),Clothing(200),Books(150)",long(2001));
		var_Serie->PutStack(L"A");
		var_Serie->PutShowValue(EXGRAPHLib::exPoint);
	EXGRAPHLib::ISeriePtr var_Serie1 = var_Series->Add("Electronics(500),Clothing(150),Books(180)",long(2002));
		var_Serie1->PutStack(L"A");
		var_Serie1->PutShowValue(EXGRAPHLib::exPoint);
spGraph1->PutValuePoint(L"16,white,black");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

349
Is it possible to reorder just the values by drag and drop (method 1)
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutAllowMoveValue(EXGRAPHLib::exLeftClick);
spGraph1->GetCategoryAxis()->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
	EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add("Electronics(350),Clothing(200),Books(150)",long(2001));
		var_Serie->PutStack(L"A");
	EXGRAPHLib::ISeriePtr var_Serie1 = var_Series->Add("Electronics(500),Clothing(150),Books(180)",long(2002));
		var_Serie1->PutStack(L"A");
		var_Serie1->PutShowValue(EXGRAPHLib::exPoint);
spGraph1->PutValuePoint(L"16,white,black");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

348
Is it possible to reorder the series and values by drag and drop
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutAllowMoveValue(EXGRAPHLib::exLeftClick);
spGraph1->GetCategoryAxis()->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
	EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add("Electronics(350),Clothing(200),Books(150)",long(2001));
		var_Serie->PutStack(L"A");
		var_Serie->PutShowValue(EXGRAPHLib::exPoint);
	EXGRAPHLib::ISeriePtr var_Serie1 = var_Series->Add("Electronics(500),Clothing(150),Books(180)",long(2002));
		var_Serie1->PutStack(L"A");
		var_Serie1->PutShowValue(EXGRAPHLib::exPoint);
spGraph1->PutValuePoint(L"16,white,black");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

347
Is it possible to reorder the values by drag and drop
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::exPoint);
spGraph1->PutValuePoint(L"12,white,black");
spGraph1->PutAllowMoveValue(EXGRAPHLib::exLeftClick);
spGraph1->EndUpdate();

346
Reorder multiple values
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutMultiColorSerie(VARIANT_FALSE);
spGraph1->GetSeries()->Add("1960(1.4),1980(11.2),2000(33.5),2010(65.8),2020(84.7)","GDP");
spGraph1->PutOrder(L",4,,3");
spGraph1->EndUpdate();

345
Move a value to an earlier or later position
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutMultiColorSerie(VARIANT_FALSE);
spGraph1->GetSeries()->Add("1960(1.4),1980(11.2),2000(33.5),2010(65.8),2020(84.7)","GDP");
spGraph1->PutOrder(L",,3");
spGraph1->EndUpdate();

344
Place one value at a specified position
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutMultiColorSerie(VARIANT_FALSE);
spGraph1->GetSeries()->Add("1960(1.4),1980(11.2),2000(33.5),2010(65.8),2020(84.7)","GDP");
spGraph1->PutOrder(L"3");
spGraph1->EndUpdate();

343
Configure the Y-axis so that it always displays exactly 5 labels (fixed-ticks), regardless of the data range

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutMultiColorSerie(VARIANT_FALSE);
EXGRAPHLib::IValueAxisPtr var_ValueAxis = spGraph1->GetValueAxis();
	var_ValueAxis->PutAsPercent(VARIANT_TRUE);
	var_ValueAxis->PutMajorUnit(double(0.2));
	var_ValueAxis->PutFormat(L"value*5 array (``,`A`,`B`,`C`,`D`,`E`)");
spGraph1->GetSeries()->Add("1960(1.4),1980(11.2),2000(33.5),2010(65.8),2020(84.7)","GDP");
spGraph1->EndUpdate();

342
Define the style(solid, dash, dot, dash-dot, dash-dot-dot) of the line to show the serie

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("1920(1.8),1945(2.3),1970(13.7),1995(5.7),2020(7.8)","Population");
	var_Serie->PutType(L"Line");
	var_Serie->PutMisc(EXGRAPHLib::exLineStyle,long(2));
spGraph1->EndUpdate();

341
I'm using the logarithmic scale, but it's not displaying any values. How can I adjust the settings to show very small values

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
_bstr_t sFormat = "(value and value < 1) ? (value format `%.1E` replace `-00` with ``) : (value format `0`)";
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutMisc(EXGRAPHLib::exEpsilon,double(0.000000001));
spGraph1->PutMultiColorSerie(VARIANT_FALSE);
spGraph1->GetCategoryAxis()->PutFormat(L"`<bgcolor white>` + value");
EXGRAPHLib::IValueAxisPtr var_ValueAxis = spGraph1->GetValueAxis();
	var_ValueAxis->PutType(EXGRAPHLib::exLogarithmic);
	var_ValueAxis->PutFormat(L"sFormat");
	var_ValueAxis->PutCursorFormat(L"sFormat");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("12:54:28(3.14E-09),12:54:44(2.59E-09),13:03:53(4.25E-09),13:03:58(4.20E-09),13:05:00(5.10E-09),13:06:12(6.25E-09)",vtMissing);
	var_Serie->PutType(L"line");
	var_Serie->PutCursorFormat(L"sFormat");
spGraph1->GetCursor()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

340
My data contains no values below 1. How can I prevent the logarithmic value axis from displaying the range between 0 and 1

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutMultiColorSerie(VARIANT_FALSE);
spGraph1->PutValuePoint(L",,,,,,,black,transparent");
spGraph1->GetCategoryAxis()->PutFormat(L"`<bgcolor white>` + value");
EXGRAPHLib::IValueAxisPtr var_ValueAxis = spGraph1->GetValueAxis();
	var_ValueAxis->PutType(EXGRAPHLib::exLogarithmic);
	var_ValueAxis->PutMin(long(1));
	var_ValueAxis->PutFormat(L"value format `0`");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Small village(8),Hamlet(14),Small town(22),Medium town(39),Growing town(2118),Small city(6523),Large city(31245),Capital city(4") +
	"31245),Mega city(65431245)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::exValue);
	var_Serie->PutValueFormat(L"`<fgcolor white> ` + (value format `0`) + ` `");
spGraph1->EndUpdate();

339
Display logarithmic scale

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutMultiColorSerie(VARIANT_FALSE);
spGraph1->GetCategoryAxis()->PutFormat(L"`<bgcolor white>` + value");
EXGRAPHLib::IValueAxisPtr var_ValueAxis = spGraph1->GetValueAxis();
	var_ValueAxis->PutType(EXGRAPHLib::exLogarithmic);
	var_ValueAxis->PutFormat(L"value format `0`");
spGraph1->GetSeries()->Add(_bstr_t("Sterile Water(0.0001),Treated Tap Water(0.001),Bottled Water(0.01),Clean Pond(0.1),River(1),Swamp(100),Sewage(10000),Wastewater") +
	" Treatment Inlet(1000000)",vtMissing)->PutCursorFormat(L"value < 1 ? value : (value format `0`) ");
spGraph1->GetCursor()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

338
Can the values be shown in scientific notation (e.g., 1E+4, 5E-10) rather than full decimal form

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value/100000");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)",vtMissing);
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(0xffffff78 | EXGRAPHLib::exHideIfEmpty | EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
	var_Serie->PutValueFormat(L"value format `%.1E` replace `+00` with `+`");
spGraph1->EndUpdate();

337
Highlight the value on both the chart and the axis

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->Import("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt",vtMissing);
spGraph1->PutSerieType(L"line");
spGraph1->GetSeries()->Add("open",vtMissing)->PutData("AAPL (open)");
spGraph1->GetValueAxis()->PutMark(L"red[axis,chart](74.25-75.75),black[axis,chart](76.5)");
spGraph1->Refresh();
spGraph1->EndUpdate();

336
Highlight the categories on both the chart and the axis

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->Import("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt",vtMissing);
spGraph1->PutSerieType(L"line");
spGraph1->PutValueSize(6);
spGraph1->GetSeries()->Add("open",vtMissing)->PutData("AAPL (open)");
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxes()->Add("0",vtMissing);
	var_CategoryAxis->PutFormat(L"value left 7");
	var_CategoryAxis->PutSplit(VARIANT_TRUE);
	var_CategoryAxis->PutMark(L"#F8F8F8[axis,chart](label = `2014-02`)");
spGraph1->Refresh();
spGraph1->EndUpdate();

335
Highlight values on axis only

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->Import("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt",vtMissing);
spGraph1->PutSerieType(L"line");
spGraph1->GetSeries()->Add("open",vtMissing)->PutData("AAPL (open)");
spGraph1->GetValueAxis()->PutMark(L"red[axis](74.25-75.75),black[axis](76.5)");
spGraph1->Refresh();
spGraph1->EndUpdate();

334
Highlight the categories on axis only

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->Import("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt",vtMissing);
spGraph1->PutSerieType(L"line");
spGraph1->PutValueSize(6);
spGraph1->GetSeries()->Add("open",vtMissing)->PutData("AAPL (open)");
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxes()->Add("0",vtMissing);
	var_CategoryAxis->PutFormat(L"value left 7");
	var_CategoryAxis->PutSplit(VARIANT_TRUE);
	var_CategoryAxis->PutMark(L"#F8F8F8[axis](label = `2014-02`)");
spGraph1->Refresh();
spGraph1->EndUpdate();

333
Highlight values

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->Import("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt",vtMissing);
spGraph1->PutSerieType(L"line");
spGraph1->GetSeries()->Add("open",vtMissing)->PutData("AAPL (open)");
spGraph1->GetValueAxis()->PutMark(L"red(74.25-75.75),black[chart,axis](76.5)");
spGraph1->Refresh();
spGraph1->EndUpdate();

332
Highlight the categories using an expression

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->Import("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt",vtMissing);
spGraph1->PutSerieType(L"line");
spGraph1->GetSeries()->Add("open",vtMissing)->PutData("AAPL (open)");
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxes()->Add("0",vtMissing);
	var_CategoryAxis->PutFormat(L"`Wno<off-4>` + week(date(value left 10))");
	var_CategoryAxis->PutSplit(VARIANT_TRUE);
	var_CategoryAxis->PutMark(L"#F8F8F8(index in (1,3))");
spGraph1->Refresh();
spGraph1->EndUpdate();

331
Highlight the categories using an expression

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->Import("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt",vtMissing);
spGraph1->PutSerieType(L"line");
spGraph1->PutValueSize(6);
spGraph1->GetSeries()->Add("open",vtMissing)->PutData("AAPL (open)");
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxes()->Add("0",vtMissing);
	var_CategoryAxis->PutFormat(L"value left 7");
	var_CategoryAxis->PutSplit(VARIANT_TRUE);
	var_CategoryAxis->PutMark(L"#F8F8F8(label = `2014-02`)");
spGraph1->Refresh();
spGraph1->EndUpdate();

330
Highlight the categories based on the index

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->Import("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt",vtMissing);
spGraph1->PutSerieType(L"line");
spGraph1->GetSeries()->Add("open",vtMissing)->PutData("AAPL (open)");
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxes()->Add("0",vtMissing);
	var_CategoryAxis->PutFormat(L"`Wno<off-4>` + week(date(value left 10))");
	var_CategoryAxis->PutSplit(VARIANT_TRUE);
	var_CategoryAxis->PutMark(L"#F8F8F8(2)");
spGraph1->Refresh();
spGraph1->EndUpdate();

329
IdemmM {string}, specifies the name of another value-axis to synchronize min, max, and major-unit values from when scrolling. If omitted or the value-axis with the given name is not found, these values are synchronized with the default value-axis

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->Import("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt",vtMissing);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("open",vtMissing);
	var_Serie->PutData("AAPL (open)");
	var_Serie->PutType(L"line");
EXGRAPHLib::IValueAxesPtr var_ValueAxes = spGraph1->GetValueAxes();
	var_ValueAxes->Add("1st");
	EXGRAPHLib::IValueAxisPtr var_ValueAxis = var_ValueAxes->Add("2nd");
		var_ValueAxis->PutAlign(EXGRAPHLib::exAlignRight);
		var_ValueAxis->PutIdemmM(L"1st");
	EXGRAPHLib::IValueAxisPtr var_ValueAxis1 = var_ValueAxes->Add("3rd");
		var_ValueAxis1->PutFormat(L"120 + value * 2.5");
		var_ValueAxis1->GetMajorGridLines()->PutColor("transparent");
spGraph1->EndUpdate();

328
Adds multiple value-axes

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->Import("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt",vtMissing);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("open",vtMissing);
	var_Serie->PutData("AAPL (close)");
	var_Serie->PutType(L"line");
	var_Serie->PutStyle(EXGRAPHLib::exSpline);
EXGRAPHLib::IValueAxesPtr var_ValueAxes = spGraph1->GetValueAxes();
	var_ValueAxes->Add("1st");
	var_ValueAxes->Add("2nd")->PutAlign(EXGRAPHLib::exAlignRight);
spGraph1->EndUpdate();

327
Split the chart in weeks

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(18);
spGraph1->Import("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt",vtMissing);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("open",vtMissing);
	var_Serie->PutData("AAPL (open)");
	var_Serie->PutType(L"line");
	var_Serie->PutStyle(EXGRAPHLib::exSpline);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxes()->Add("0",vtMissing);
	var_CategoryAxis->PutFormat(L"value mid 9 left 2");
	EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
		var_FormatGridLinesOptions->PutFormat(L"`<fgcolor gray>Wno <off 4>` + week(date(value left 10))");
		var_FormatGridLinesOptions->PutColor("gray");
		var_FormatGridLinesOptions->PutAlign(EXGRAPHLib::exTextAlignLeft);
spGraph1->EndUpdate();

326
Resets the series, category axes and value axes without affecting the control's data
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void OnClickGraph1()
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
		#import <ExGraph.dll>
		using namespace EXGRAPHLib;
	*/
	EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
	spGraph1->Reset(vtMissing);
}

EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(18);
spGraph1->Import("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt",vtMissing);
spGraph1->PutSerieType(L"line");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
	var_Serie->PutName(L"aapl");
	var_Serie->PutData("AAPL (open),AAPL (high),AAPL (low),AAPL (close)");
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxes()->Add("0",vtMissing);
	var_CategoryAxis->PutFormat(L"value mid 9 left 2");
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis1 = spGraph1->GetCategoryAxes()->Add("0",vtMissing);
	var_CategoryAxis1->PutFormat(L"value left 7");
	var_CategoryAxis1->PutSplit(VARIANT_TRUE);
spGraph1->EndUpdate();

325
Define the representation method for the data in all series where the type property is not specified, determining how these series are visually displayed

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutSerieType(L"rangeArea");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
	var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
	".6)","Worldwide");
	var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
	".5)","Native");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

324
How can I prevent the labels from rotating around the chart when using the radarColumn type

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutSerieType(L"radarCol");
spGraph1->PutMisc(EXGRAPHLib::exRadialRotateLabels,VARIANT_FALSE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
	var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
	".6)","Worldwide");
	var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
	".5)","Native");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

323
Disable stacking for all series at once

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutAllowStack(VARIANT_FALSE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
	var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
	".6)","Worldwide")->PutStack(L"group");
	var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
	".5)","Native")->PutStack(L"group");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

322
How can I stack more than three data series across multiple columns

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
	var_Series->Add(_bstr_t("Chinese(9.165),Spanish(4.355),English(3.185),Hindi(2.73),Arabic(2.665),Bengali(2.145),Portuguese(1.885),Russian(1.82),Japanese(") +
	"1.105),Lahnda(1.04)","Male")->PutStack(L"G1");
	var_Series->Add(_bstr_t("Chinese(4.935),Spanish(2.345),English(1.715),Hindi(1.47),Arabic(1.435),Bengali(1.155),Portuguese(1.015),Russian(0.98),Japanese(") +
	"0.595),Lahnda(0.56)","Female")->PutStack(L"G1");
	var_Series->Add(_bstr_t("Chinese(3.5),Spanish(2.0),English(1.8),Hindi(0.5),Arabic(0.4),Bengali(0.3),Portuguese(0.7),Russian(1.2),Japanese(0.4),Lahnda(0.") +
	"2)","Europe")->PutStack(L"G2");
	var_Series->Add(_bstr_t("Chinese(8.0),Spanish(0.5),English(1.0),Hindi(3.0),Arabic(2.5),Bengali(2.0),Portuguese(0.2),Russian(1.0),Japanese(1.0),Lahnda(0.") +
	"5)","Asia")->PutStack(L"G2");
	var_Series->Add(_bstr_t("Chinese(1.0),Spanish(3.5),English(1.5),Hindi(0.2),Arabic(0.5),Bengali(0.1),Portuguese(1.5),Russian(0.1),Japanese(0.1),Lahnda(0.") +
	"1)","America")->PutStack(L"G2");
	var_Series->Add(_bstr_t("Chinese(0.1),Spanish(0.1),English(0.3),Hindi(0.1),Arabic(0.1),Bengali(0.1),Portuguese(0.1),Russian(0.1),Japanese(0.1),Lahnda(0.") +
	"1)","Australia")->PutStack(L"G2");
	var_Series->Add(_bstr_t("Chinese(1.5),Spanish(0.6),English(0.3),Hindi(0.4),Arabic(0.6),Bengali(0.8),Portuguese(0.4),Russian(0.4),Japanese(0.1),Lahnda(0.") +
	"5)","Others")->PutStack(L"G2");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

321
How can I stack data more than three series

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
	var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
	".6)","Worldwide")->PutStack(L"group");
	var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
	".5)","Native")->PutStack(L"group");
	var_Series->Add(_bstr_t("Chinese(1.5),Spanish(10.2),English(2.1),Hindi(0.5),Arabic(0.8),Bengali(0.3),Portuguese(3.5),Russian(0.4),Japanese(0.2),Lahnda(0") +
	".1)","Regional")->PutStack(L"group");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

320
I use the legend, but clicking a series mostly rearranges them instead of hiding it
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutMisc(EXGRAPHLib::exNewLayoutOnVisibleChange,VARIANT_FALSE);
spGraph1->GetSeries()->Add("50,150,150,300","A1");
spGraph1->GetSeries()->Add("180,40,60,160","A2");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

319
Adjusts the column/bar size so that the entire chart fits within the client rectangle
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetCategoryAxis()->PutCategories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
spGraph1->GetSeries()->Add("4600,1300,747,579,0,422,42",vtMissing);
spGraph1->ValueAutoFit();
spGraph1->EndUpdate();

318
The categories overlap, making the text unreadable

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(32);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
	var_CategoryAxis->PutFormat(L"`<bgcolor white>` + value");
spGraph1->GetSeries()->Add("4600,1300,747,579,0,422,42",vtMissing);
spGraph1->EndUpdate();

317
Represents a single serie with single color (prevent multiple colors for single-serie)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutMultiColorSerie(VARIANT_FALSE);
spGraph1->GetCategoryAxis()->GetMajorGridLines()->PutColor("lightgray");
spGraph1->GetSeries()->Add("Electronics(350),Clothing(200),Books(150)",long(2001));
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();

316
How can I replace or add an icon at runtime

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->ReplaceIcon(_bstr_t("gAAAABgYACEHgUJFEEAAWhUJCEJEEJggEhMCYEXjUbjkJQECj8gj8hAEjkshYEpk8kf8ClsulsvAExmcvf83js5nU7nkCeEcn8boMaocXosCB9Hn09pkzcEuoL/fE+O") +
	"kYB0gB9YhIHrddgVcr9aktZADAD8+P8CgIA==",vtMissing);
spGraph1->ReplaceIcon("C:\\images\\favicon.ico",long(0));
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("<img>1</img>Asia(4600),<img>2</img>Africa(1300),<img>3</img>Europe(747),<img>4</img>North America(579),<img>5</img>South Americ") +
	"a(433),<img>6</img>Australia/Oceania(42)",vtMissing);
spGraph1->PutSeriesColors("blue");
spGraph1->EndUpdate();

315
No grid lines are shown even I set the Color and Format properties of ChartGridLines/OverviewGridLines
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->GetSeries()->Add("100,200,200,400","S1");
spGraph1->GetSeries()->Add("210,20,20,120","S2");
EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = spGraph1->GetCategoryAxes()->Add("A,B,C,D","1st")->GetChartGridLines();
	var_FormatGridLinesOptions->PutColor("red");
	var_FormatGridLinesOptions->PutFormat(L"value");
spGraph1->GetCategoryAxes()->Add("E,F","2nd");
spGraph1->Refresh();

314
Occasionally, the margins of the axes may not align perfectly with the view

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(18);
spGraph1->PutPad(long(24));
spGraph1->GetValueAxis()->PutFormat(L"value format `0`");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("Hulunbuir{China}(263068),Abu Dhabi{United Arab Emirates}(97200),Jiuquan{China}(167996),Altamira{Brazil}(159891),Brasília{Brazil") +
	"}(5784),Mumbai{India}(603.4),Delhi{India}(1484),Chongqing{China}(82400),Hulunbuir{China}(263068),Sao Paulo{Brazil}(1522),Linfen{" +
	"China}(20527),Santiago{Chile}(641),Mexico City{Mexico}(1485),Belo Horizonte{Brazil}(313),Hangzhou{China}(16817),Nairobi{Kenya}(6" +
	"96),Berlin{Germany}(891.68),Montreal{Canada}(431.5),Cordoba{Argentina}(576),Manaus{Brazil}(11401),Astana{Kazakhstan}(810),Goiâni" +
	"a{Brazil}(741),Cali{Colombia}(564),Sao Paulo{Brazil}(1522),Goiania{Brazil}(781)",vtMissing);
	var_Serie->PutType(L"Col");
	var_Serie->PutVertical(VARIANT_TRUE);
spGraph1->PutSort(L"0:D");
spGraph1->EndUpdate();

313
"candlestick" explained, an [open,high,low,close] chart

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(32);
spGraph1->PutValuePoint(L"0,,,,lightgray,1");
spGraph1->GetValueAxis()->GetMajorGridLines()->PutStep(4);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("One(79.38 79.57 78.86 79.01)",vtMissing);
	var_Serie->PutType(L"candlestick");
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
	var_Serie->PutValueFormat(L"(inner array (`<b>open`,`<fgcolor gray>high`,`<fgcolor gray>low`,`<b>close`)) + ` ` + value");
spGraph1->EndUpdate();

312
"candlestick", a candlestick chart (also called Japanese candlestick chart or K-line) is a style of financial chart used to describe price movements of a security, derivative, or currency. While similar in appearance to a bar chart, each candleStick represents four important pieces of information for that day: open and close in the thick body, and high and low in the "candle wick". Being densely packed with information, it tends to represent trading patterns over short periods of time, often a few days or a few trading sessions. (data requires array of array of four-numbers, such as [[open, high, low and close]], supports vertical field, scrollable)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(18);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Date");
	var_CategoryAxis->PutFormat(L"value mid 9 left 2");
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
spGraph1->GetSeries()->Add("Open,High,Low,Close","msft")->PutType(L"candlestick");
spGraph1->EndUpdate();

311
"ohlc" explained, an [open,high,low,close] chart

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(32);
spGraph1->PutValuePoint(L"0,,,,lightgray,1");
spGraph1->GetValueAxis()->GetMajorGridLines()->PutStep(4);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("One(79.38 79.57 78.86 79.01)",vtMissing);
	var_Serie->PutType(L"ohlc");
	var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
	var_Serie->PutValueFormat(L"(inner array (`<b>open`,`<fgcolor gray>high`,`<fgcolor gray>low`,`<b>close`)) + ` ` + value");
spGraph1->EndUpdate();

310
"ohlc", an open-high-low-close chart (also OHLC) is a type of chart typically used to illustrate movements in the price of a financial instrument over time. Each vertical line on the chart shows the price range (the highest and lowest prices) over one unit of time, e.g., one day or one hour. Tick marks project from each side of the line indicating the opening price (e.g., for a daily bar chart this would be the starting price for that day) on the left, and the closing price for that time period on the right. The bars may be shown in different hues depending on whether prices rose or fell in that period. (data requires array of array of four-numbers, such as [[open, high, low and close]], supports vertical field, scrollable)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(18);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("Date");
	var_CategoryAxis->PutFormat(L"value mid 9 left 2");
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
spGraph1->GetSeries()->Add("Open,High,Low,Close","msft")->PutType(L"ohlc");
spGraph1->EndUpdate();

309
"bubble", a bubble chart or bubble plot is a type of chart that displays three dimensions of data (a bubble chart is an extension of the scatter plot used to look at relationships between three numeric variables.). Each entity with its triplet (v1, v2, v3) of associated data is plotted as a disk that expresses two of the vi values through the disk's xy location and the third through its size. Bubble charts can facilitate the understanding of social, economical, medical, and other scientific relationships. (data requires array of array of three-numbers, such as [[x, y, size]], supports vertical field, non-scrollable)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("1 25 1,2 49 2,3 70 3,4 86 4,5 96 5,6 100 4,7 96 3,8 86 2,9 70 1,10 49 1,11 25 1","Bell<b>1");
	var_Serie->PutType(L"bubble");
	var_Serie->PutMisc(EXGRAPHLib::exScatterPlotSize,long(32));
EXGRAPHLib::ISeriePtr var_Serie1 = spGraph1->GetSeries()->Add("1 -25 1,2 -49 2,3 -70 3,4 -86 4,5 -96 5,6 -100 6,7 -96 5,8 -86 4,9 -70 3,10 -49 2,11 -25 1","Bell<b>2");
	var_Serie1->PutType(L"bubble");
	var_Serie1->PutMisc(EXGRAPHLib::exScatterPlotSize,long(32));
spGraph1->EndUpdate();

308
"scatter", a scatter plot (also called a scatterplot, scatter graph, scatter chart, scattergram, or scatter diagram) is a type of plot or mathematical diagram using Cartesian coordinates to display values for typically two variables for a set of data. (data requires array of array of two-numbers, such as [[x, y]], supports vertical field, non-scrollable)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->GetSeries()->Add("1 25,2 49,3 70,4 86,5 96,6 100,7 96,8 86,9 70,10 49,11 25","Bell<b>1")->PutType(L"scatter");
spGraph1->GetSeries()->Add("1 -25,2 -49,3 -70,4 -86,5 -96,6 -100,7 -96,8 -86,9 -70,10 -49,11 -25","Bell<b>2")->PutType(L"scatter");
spGraph1->EndUpdate();

307
"scatterline", curved

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("1 25,2 49,3 70,4 86,5 96,6 100,7 96,8 86,9 70,10 49,11 25","Bell");
	var_Serie->PutType(L"scatterline");
	var_Serie->PutStyle(EXGRAPHLib::exSpline);
spGraph1->EndUpdate();

306
"scatterline", a scatter line chart is similar with "scatter" type, excepts that lines are shown between scatter plots. (data requires array of array of two-numbers, such as [[x, y]], supports vertical field, non-scrollable)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->GetSeries()->Add("1 25,2 49,3 70,4 86,5 96,6 100,7 96,8 86,9 70,10 49,11 25","Bell<b>1")->PutType(L"scatterline");
spGraph1->GetSeries()->Add("1 -25,2 -49,3 -70,4 -86,5 -96,6 -100,7 -96,8 -86,9 -70,10 -49,11 -25","Bell<b>2")->PutType(L"scatterline");
spGraph1->EndUpdate();

305
"scatterarea", curved

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("1 25,2 49,3 70,4 86,5 96,6 100,7 96,8 86,9 70,10 49,11 25","Bell");
	var_Serie->PutType(L"scatterarea");
	var_Serie->PutStyle(EXGRAPHLib::exSpline);
spGraph1->EndUpdate();

304
"scatterarea", a scatter area chart is similar with "scatterLine" type, excepts that scatter plots zone is filled. (data requires array of array of two-numbers, such as [[x, y]], supports vertical field, non-scrollable)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->GetSeries()->Add("1 25,2 49,3 70,4 86,5 96,6 100,7 96,8 86,9 70,10 49,11 25","Bell<b>1")->PutType(L"scatterarea");
spGraph1->GetSeries()->Add("1 -25,2 -49,3 -70,4 -86,5 -96,6 -100,7 -96,8 -86,9 -70,10 -49,11 -25","Bell<b>2")->PutType(L"scatterarea");
spGraph1->EndUpdate();

303
"polarscatter", shows the serie as non-connected data points (data requires array of array of two-numbers, such as [[angle, value]], non-scrollable)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutMisc(EXGRAPHLib::exRadialRotateLabels,VARIANT_FALSE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("45,90,135,180,225,270,315,360");
	var_CategoryAxis->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("0 0,15 2,30 4,45 6,60 8,75 10,90 12,105 14,120 16,135 18,150 20,165 22,180 24,195 26,210 28,225 30,240 32,255 34,270 36,285 38,") +
	"300 40,315 42,330 44,345 46,360 48,15 50,30 52,45 54,60 56,75 58,90 60","Spiral");
	var_Serie->PutType(L"polarscatter");
	var_Serie->PutColor("red");
spGraph1->EndUpdate();

302
"polarline", represents data points connected with straight line segments (data requires array of array of two-numbers, such as [[angle, value]], non-scrollable)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutMisc(EXGRAPHLib::exRadialRotateLabels,VARIANT_FALSE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("45,90,135,180,225,270,315,360");
	var_CategoryAxis->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("0 0,15 2,30 4,45 6,60 8,75 10,90 12,105 14,120 16,135 18,150 20,165 22,180 24,195 26,210 28,225 30,240 32,255 34,270 36,285 38,") +
	"300 40,315 42,330 44,345 46,360 48,15 50,30 52,45 54,60 56,75 58,90 60","Spiral");
	var_Serie->PutType(L"polarLine");
	var_Serie->PutColor("red");
spGraph1->EndUpdate();

301
"polararea", represents data points connected with straight line segments that enclose a filled area together with the chart pole (data requires array of array of two-numbers, such as [[angle, value]], non-scrollable)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'

	#import <ExGraph.dll>
	using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutMisc(EXGRAPHLib::exRadialRotateLabels,VARIANT_FALSE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
	var_CategoryAxis->PutCategories("45,90,135,180,225,270,315,360");
	var_CategoryAxis->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(_bstr_t("0 0,15 2,30 4,45 6,60 8,75 10,90 12,105 14,120 16,135 18,150 20,165 22,180 24,195 26,210 28,225 30,240 32,255 34,270 36,285 38,") +
	"300 40,315 42,330 44,345 46,360 48,15 50,30 52,45 54,60 56,75 58,90 60","Spiral");
	var_Serie->PutType(L"polarArea");
	var_Serie->PutColor("lime");
spGraph1->EndUpdate();