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

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Graph1->SerieType = L"rangeArea";
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"));
var_Series->Add(TVariant(String("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)"),TVariant("Native"));
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
324
|
How can I prevent the labels from rotating around the chart when using the radarColumn type

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Graph1->SerieType = L"radarCol";
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exRadialRotateLabels] = TVariant(false);
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"));
var_Series->Add(TVariant(String("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)"),TVariant("Native"));
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
323
|
Disable stacking for all series at once

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Graph1->AllowStack = false;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"))->Stack = L"group";
var_Series->Add(TVariant(String("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)"),TVariant("Native"))->Stack = L"group";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
322
|
How can I stack more than three data series across multiple columns

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant(String("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)"),TVariant("Male"))->Stack = L"G1";
var_Series->Add(TVariant(String("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)"),TVariant("Female"))->Stack = L"G1";
var_Series->Add(TVariant(String("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)"),TVariant("Europe"))->Stack = L"G2";
var_Series->Add(TVariant(String("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)"),TVariant("Asia"))->Stack = L"G2";
var_Series->Add(TVariant(String("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)"),TVariant("America"))->Stack = L"G2";
var_Series->Add(TVariant(String("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)"),TVariant("Australia"))->Stack = L"G2";
var_Series->Add(TVariant(String("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)"),TVariant("Others"))->Stack = L"G2";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
321
|
How can I stack data more than three series

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"))->Stack = L"group";
var_Series->Add(TVariant(String("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)"),TVariant("Native"))->Stack = L"group";
var_Series->Add(TVariant(String("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)"),TVariant("Regional"))->Stack = L"group";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
320
|
I use the legend, but clicking a series mostly rearranges them instead of hiding it
Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exNewLayoutOnVisibleChange] = TVariant(false);
Graph1->Series->Add(TVariant("50,150,150,300"),TVariant("A1"));
Graph1->Series->Add(TVariant("180,40,60,160"),TVariant("A2"));
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
319
|
Adjusts the column/bar size so that the entire chart fits within the client rectangle
Graph1->BeginUpdate();
Graph1->CategoryAxis->set_Categories(TVariant("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania"));
Graph1->Series->Add(TVariant("4600,1300,747,579,0,422,42"),TNoParam());
Graph1->ValueAutoFit();
Graph1->EndUpdate();
|
318
|
The categories overlap, making the text unreadable

Graph1->BeginUpdate();
Graph1->ValueSize = 32;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania"));
var_CategoryAxis->Format = L"`<bgcolor white>` + value";
Graph1->Series->Add(TVariant("4600,1300,747,579,0,422,42"),TNoParam());
Graph1->EndUpdate();
|
317
|
Represents a single serie with single color (prevent multiple colors for single-serie)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->MultiColorSerie = false;
Graph1->CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Graph1->Series->Add(TVariant("Electronics(350),Clothing(200),Books(150)"),TVariant(2001));
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
316
|
How can I replace or add an icon at runtime

Graph1->BeginUpdate();
Graph1->ReplaceIcon(TVariant(String("gAAAABgYACEHgUJFEEAAWhUJCEJEEJggEhMCYEXjUbjkJQECj8gj8hAEjkshYEpk8kf8ClsulsvAExmcvf83js5nU7nkCeEcn8boMaocXosCB9Hn09pkzcEuoL/fE+O") +
"kYB0gB9YhIHrddgVcr9aktZADAD8+P8CgIA=="),TNoParam());
Graph1->ReplaceIcon(TVariant("C:\\images\\favicon.ico"),TVariant(0));
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("<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)"),TNoParam());
Graph1->set_SeriesColors(TVariant("blue"));
Graph1->EndUpdate();
|
315
|
No grid lines are shown even I set the Color and Format properties of ChartGridLines/OverviewGridLines
Graph1->Series->Add(TVariant("100,200,200,400"),TVariant("S1"));
Graph1->Series->Add(TVariant("210,20,20,120"),TVariant("S2"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = Graph1->CategoryAxes->Add(TVariant("A,B,C,D"),TVariant("1st"))->ChartGridLines;
var_FormatGridLinesOptions->set_Color(TVariant("red"));
var_FormatGridLinesOptions->Format = L"value";
Graph1->CategoryAxes->Add(TVariant("E,F"),TVariant("2nd"));
Graph1->Refresh();
|
314
|
Occasionally, the margins of the axes may not align perfectly with the view

Graph1->BeginUpdate();
Graph1->ValueSize = 18;
Graph1->set_Pad(TVariant(24));
Graph1->ValueAxis->Format = L"value format `0`";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("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)"),TNoParam());
var_Serie->Type = L"Col";
var_Serie->Vertical = true;
Graph1->Sort = L"0:D";
Graph1->EndUpdate();
|
313
|
"candlestick" explained, an [open,high,low,close] chart

Graph1->BeginUpdate();
Graph1->ValueSize = 32;
Graph1->ValuePoint = L"0,,,,lightgray,1";
Graph1->ValueAxis->MajorGridLines->Step = 4;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant("One(79.38 79.57 78.86 79.01)"),TNoParam());
var_Serie->Type = L"candlestick";
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
var_Serie->ValueFormat = L"(inner array (`<b>open`,`<fgcolor gray>high`,`<fgcolor gray>low`,`<b>close`)) + ` ` + value";
Graph1->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)

Graph1->BeginUpdate();
Graph1->ValueSize = 18;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Date"));
var_CategoryAxis->Format = L"value mid 9 left 2";
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Graph1->Series->Add(TVariant("Open,High,Low,Close"),TVariant("msft"))->Type = L"candlestick";
Graph1->EndUpdate();
|
311
|
"ohlc" explained, an [open,high,low,close] chart

Graph1->BeginUpdate();
Graph1->ValueSize = 32;
Graph1->ValuePoint = L"0,,,,lightgray,1";
Graph1->ValueAxis->MajorGridLines->Step = 4;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant("One(79.38 79.57 78.86 79.01)"),TNoParam());
var_Serie->Type = L"ohlc";
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
var_Serie->ValueFormat = L"(inner array (`<b>open`,`<fgcolor gray>high`,`<fgcolor gray>low`,`<b>close`)) + ` ` + value";
Graph1->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)

Graph1->BeginUpdate();
Graph1->ValueSize = 18;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Date"));
var_CategoryAxis->Format = L"value mid 9 left 2";
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Graph1->Series->Add(TVariant("Open,High,Low,Close"),TVariant("msft"))->Type = L"ohlc";
Graph1->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)

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant("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"),TVariant("Bell<b>1"));
var_Serie->Type = L"bubble";
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exScatterPlotSize,TVariant(32));
Exgraphlib_tlb::ISeriePtr var_Serie1 = Graph1->Series->Add(TVariant("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"),TVariant("Bell<b>2"));
var_Serie1->Type = L"bubble";
var_Serie1->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exScatterPlotSize,TVariant(32));
Graph1->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)

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->Series->Add(TVariant("1 25,2 49,3 70,4 86,5 96,6 100,7 96,8 86,9 70,10 49,11 25"),TVariant("Bell<b>1"))->Type = L"scatter";
Graph1->Series->Add(TVariant("1 -25,2 -49,3 -70,4 -86,5 -96,6 -100,7 -96,8 -86,9 -70,10 -49,11 -25"),TVariant("Bell<b>2"))->Type = L"scatter";
Graph1->EndUpdate();
|
307
|
"scatterline", curved

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant("1 25,2 49,3 70,4 86,5 96,6 100,7 96,8 86,9 70,10 49,11 25"),TVariant("Bell"));
var_Serie->Type = L"scatterline";
var_Serie->Style = Exgraphlib_tlb::SerieStyleEnum::exSpline;
Graph1->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)

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->Series->Add(TVariant("1 25,2 49,3 70,4 86,5 96,6 100,7 96,8 86,9 70,10 49,11 25"),TVariant("Bell<b>1"))->Type = L"scatterline";
Graph1->Series->Add(TVariant("1 -25,2 -49,3 -70,4 -86,5 -96,6 -100,7 -96,8 -86,9 -70,10 -49,11 -25"),TVariant("Bell<b>2"))->Type = L"scatterline";
Graph1->EndUpdate();
|
305
|
"scatterarea", curved

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant("1 25,2 49,3 70,4 86,5 96,6 100,7 96,8 86,9 70,10 49,11 25"),TVariant("Bell"));
var_Serie->Type = L"scatterarea";
var_Serie->Style = Exgraphlib_tlb::SerieStyleEnum::exSpline;
Graph1->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)

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->Series->Add(TVariant("1 25,2 49,3 70,4 86,5 96,6 100,7 96,8 86,9 70,10 49,11 25"),TVariant("Bell<b>1"))->Type = L"scatterarea";
Graph1->Series->Add(TVariant("1 -25,2 -49,3 -70,4 -86,5 -96,6 -100,7 -96,8 -86,9 -70,10 -49,11 -25"),TVariant("Bell<b>2"))->Type = L"scatterarea";
Graph1->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)

Graph1->BeginUpdate();
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exRadialRotateLabels] = TVariant(false);
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("45,90,135,180,225,270,315,360"));
var_CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("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"),TVariant("Spiral"));
var_Serie->Type = L"polarscatter";
var_Serie->set_Color(TVariant("red"));
Graph1->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)

Graph1->BeginUpdate();
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exRadialRotateLabels] = TVariant(false);
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("45,90,135,180,225,270,315,360"));
var_CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("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"),TVariant("Spiral"));
var_Serie->Type = L"polarLine";
var_Serie->set_Color(TVariant("red"));
Graph1->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)

Graph1->BeginUpdate();
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exRadialRotateLabels] = TVariant(false);
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("45,90,135,180,225,270,315,360"));
var_CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("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"),TVariant("Spiral"));
var_Serie->Type = L"polarArea";
var_Serie->set_Color(TVariant("lime"));
Graph1->EndUpdate();
|
300
|
"rangearea", a range chart displays sets of data points, each of which is defined by multiple values for the same category, and emphasizes the distance between the two values. The category labels are displayed on the category axis. The plain Range chart fills in the area between the top and the bottom value for each data point. (data requires array of array of two-numbers, such as [[from, to]], supports vertical field, scrollable)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value + `°`";
Graph1->Series->Add(TVariant(String("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17),") +
" Dec(6 15)"),TVariant("Spain"))->Type = L"rangearea";
Graph1->Series->Add(TVariant(String("Jan(3 13), Feb(4 15), Mar(8 17), Apr(11 20), May(15 25), Jun(19 29), Jul(21 31), Aug(21 31), Sep(17 27), Oct(12 22), Nov(7 16),") +
" Dec(4 14)"),TVariant("Spain"))->Type = L"rangearea";
Graph1->EndUpdate();
|
299
|
"rangecolumn", single

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value + `°`";
Graph1->Series->Add(TVariant(String("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17),") +
" Dec(6 15)"),TVariant("Spain"))->Type = L"RangeColumn";
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
298
|
"rangecolumn", a range column chart displays information as a range of data by plotting two Y-values (low and high) per data point. The vertical axis shows the values, and the horizontal axis shows the categories they belong to; in multiple-series range column charts, values are grouped by categories. (data requires array of array of two-numbers, such as [[from, to]], supports vertical field, scrollable)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value + `°`";
Graph1->Series->Add(TVariant(String("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17),") +
" Dec(6 15)"),TVariant("Spain"))->Type = L"RangeColumn";
Graph1->Series->Add(TVariant(String("Jan(3 13), Feb(4 15), Mar(8 17), Apr(11 20), May(15 25), Jun(19 29), Jul(21 31), Aug(21 31), Sep(17 27), Oct(12 22), Nov(7 16),") +
" Dec(4 14)"),TVariant("Spain"))->Type = L"RangeColumn";
Graph1->EndUpdate();
|
297
|
"pie", a pie chart (or a circle chart) is a circular statistical graphic which is divided into slices to illustrate numerical proportion. In a pie chart, the arc length of each slice (and consequently its central angle and area) is proportional to the quantity it represents. While it is named for its resemblance to a pie which has been sliced, there are variations on the way it can be presented. (data requires array of numbers, non-scrollable)
Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exPaddingInsidePie] = TVariant(2);
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"))->Type = L"pie";
var_Series->Add(TVariant(String("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)"),TVariant("Native"))->Type = L"pie";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
296
|
"waterfall", a waterfall chart is a form of data visualization that helps in understanding the cumulative effect of sequentially introduced positive or negative values. These intermediate values can either be time based or category based. The waterfall chart is also known as a flying bricks chart or Mario chart due to the apparent suspension of columns (bricks) in mid-air. Often in finance, it will be referred to as a bridge. (data requires array of numbers, supports vertical field, scrollable)

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"))->Type = L"waterfall";
var_Series->Add(TVariant(String("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)"),TVariant("Native"))->Type = L"waterfall";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
295
|
"radarcolumn", stacked

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
Exgraphlib_tlb::ISeriePtr var_Serie = var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"));
var_Serie->Type = L"radarcolumn";
var_Serie->Stack = L"group";
Exgraphlib_tlb::ISeriePtr var_Serie1 = var_Series->Add(TVariant(String("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)"),TVariant("Native"));
var_Serie1->Type = L"radarcolumn";
var_Serie1->Stack = L"group";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
294
|
"radarcolumn", displays data in radial columns starting from one center point. The circle is divided into equal portions depending on the number of columns and each column group occupies one portion (similar with "radarArea" type, data requires array of numbers, non-scrollable)

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"))->Type = L"radarcolumn";
var_Series->Add(TVariant(String("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)"),TVariant("Native"))->Type = L"radarcolumn";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
293
|
"radarline", stacked

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
Exgraphlib_tlb::ISeriePtr var_Serie = var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"));
var_Serie->Type = L"radarline";
var_Serie->Stack = L"group";
Exgraphlib_tlb::ISeriePtr var_Serie1 = var_Series->Add(TVariant(String("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)"),TVariant("Native"));
var_Serie1->Type = L"radarline";
var_Serie1->Stack = L"group";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
292
|
"radarline" (data requires array of numbers, non-scrollable)

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"))->Type = L"radarline";
var_Series->Add(TVariant(String("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)"),TVariant("Native"))->Type = L"radarline";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
291
|
"radararea", stacked

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
Exgraphlib_tlb::ISeriePtr var_Serie = var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"));
var_Serie->Type = L"radararea";
var_Serie->Stack = L"group";
Exgraphlib_tlb::ISeriePtr var_Serie1 = var_Series->Add(TVariant(String("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)"),TVariant("Native"));
var_Serie1->Type = L"radararea";
var_Serie1->Stack = L"group";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
290
|
"radararea", a radar chart is a graphical method of displaying multivariate data in the form of a two-dimensional chart of three or more quantitative variables represented on axes starting from the same point. The relative position and angle of the axes is typically uninformative, but various heuristics, such as algorithms that plot data as the maximal total area, can be applied to sort the variables (axes) into relative positions that reveal distinct correlations, trade-offs, and a multitude of other comparative measures. (data requires array of numbers, non-scrollable)

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"))->Type = L"radararea";
var_Series->Add(TVariant(String("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)"),TVariant("Native"))->Type = L"radararea";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
289
|
"column", single

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("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)"),TVariant("Worldwide"))->Type = L"column";
Graph1->EndUpdate();
|
288
|
"column", stacked

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
Exgraphlib_tlb::ISeriePtr var_Serie = var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"));
var_Serie->Type = L"column";
var_Serie->Stack = L"group";
Exgraphlib_tlb::ISeriePtr var_Serie1 = var_Series->Add(TVariant(String("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)"),TVariant("Native"));
var_Serie1->Type = L"column";
var_Serie1->Stack = L"group";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
287
|
"column", a column chart or column graph is a chart or graph that presents categorical data with rectangular columns with heights proportional to the values that they represent. A horizontal column chart is called a bar chart. (data requires array of numbers, supports vertical field, scrollable)

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"))->Type = L"column";
var_Series->Add(TVariant(String("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)"),TVariant("Native"))->Type = L"column";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
286
|
"line", stacked

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
Exgraphlib_tlb::ISeriePtr var_Serie = var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"));
var_Serie->Type = L"line";
var_Serie->Stack = L"group";
Exgraphlib_tlb::ISeriePtr var_Serie1 = var_Series->Add(TVariant(String("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)"),TVariant("Native"));
var_Serie1->Type = L"line";
var_Serie1->Stack = L"group";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
285
|
"line", a line chart or line graph, also known as curve chart is a type of chart which displays information as a series of data points called 'markers' connected by straight line segments. It is a basic type of chart common in many fields. It is similar to a scatter plot except that the measurement points are ordered (typically by their x-axis value) and joined with straight line segments. A line chart is often used to visualize a trend in data over intervals of time - a time series - thus the line is often drawn chronologically. In these cases they are known as run charts. (data requires array of numbers, supports vertical field, scrollable)

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"))->Type = L"line";
var_Series->Add(TVariant(String("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)"),TVariant("Native"))->Type = L"line";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
284
|
"area", stacked

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
Exgraphlib_tlb::ISeriePtr var_Serie = var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"));
var_Serie->Type = L"area";
var_Serie->Stack = L"group";
Exgraphlib_tlb::ISeriePtr var_Serie1 = var_Series->Add(TVariant(String("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)"),TVariant("Native"));
var_Serie1->Type = L"area";
var_Serie1->Stack = L"group";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
283
|
"area", an area chart or area graph displays graphically quantitative data. It is based on the line chart. The area between axis and line are commonly emphasized with colors, textures and hatchings. Commonly one compares two or more quantities with an area chart. (data requires array of numbers, supports vertical field, scrollable)

Graph1->BeginUpdate();
Graph1->set_Pad(TVariant(18));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant(String("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)"),TVariant("Worldwide"))->Type = L"area";
var_Series->Add(TVariant(String("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)"),TVariant("Native"))->Type = L"area";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
282
|
Defines the color to show the frame around the pies

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant("1920(1.8),1945(2.3),1970(13.7),1995(5.7),2020(7.8)"),TVariant("Population"));
var_Serie->Type = L"Pie";
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exPieFrameColor,TVariant(255));
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exLineSize,TVariant(4));
Graph1->EndUpdate();
|
281
|
Defines the width of the line to show the serie

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant("1920(1.8),1945(2.3),1970(13.7),1995(5.7),2020(7.8)"),TVariant("Population"));
var_Serie->Type = L"Line";
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exLineSize,TVariant(4));
Graph1->EndUpdate();
|
280
|
Changes the spline's tension and alpha curves

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant("1920(1.8),1945(2.3),1970(13.7),1995(5.7),2020(7.8)"),TVariant("Population"));
var_Serie->Type = L"Line";
var_Serie->Style = Exgraphlib_tlb::SerieStyleEnum::exSpline;
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exSplineTension,TVariant(0));
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exSplineAlpha,TVariant(1));
Graph1->EndUpdate();
|
279
|
Enables or disables the presentation of hollow representations. This indicates instances where the closing price exceeds the opening price, resulting in candlesticks characterized by unfilled bodies

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"msft";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"candle";
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exCandleAllowHollow,TVariant(false));
Graph1->EndUpdate();
|
278
|
Defines the size to display the candle stick

Graph1->BeginUpdate();
Graph1->ValueSize = 18;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Date"));
var_CategoryAxis->Format = L"value mid 9 left 2";
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"msft";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"ohlc";
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exCandleStickSize,TVariant(2));
Graph1->EndUpdate();
|
277
|
Defines the radius to show the plot on scatter-type charts

Graph1->BeginUpdate();
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant("11 22 33,44 55 66,77 88 99,12 34 56,78 90 23"),TNoParam());
var_Serie->Type = L"bubble";
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exScatterPlotSize,TVariant(64));
Exgraphlib_tlb::ISeriePtr var_Serie1 = Graph1->Series->Add(TVariant("21 32 43,54 65 76,87 98 09,45 67 89,90 23 45"),TNoParam());
var_Serie1->Type = L"bubble";
var_Serie1->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exScatterPlotSize,TVariant(64));
Exgraphlib_tlb::IExCursorPtr var_Cursor = Graph1->Cursor;
var_Cursor->Visible = true;
var_Cursor->ShowCursorXLine = false;
Graph1->EndUpdate();
|
276
|
Customizes the captions to be shown within the legend

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam())->LegendFormat = L"trim(label replace `Ocean` with ``)";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
275
|
Stacked (data points within a series are stacked on top of each other rather than plotted side by side)
Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant("Electronics(350),Clothing(200),Books(150)"),TVariant(2001))->Stack = L"A";
var_Series->Add(TVariant("Electronics(500),Clothing(150),Books(180)"),TVariant(2002))->Stack = L"A";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
274
|
Draws a curved line

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant("1920(1.8),1945(2.3),1970(3.7),1995(5.7),2020(7.8)"),TVariant("Population"));
var_Serie->Type = L"Line";
var_Serie->Style = Exgraphlib_tlb::SerieStyleEnum::exSpline;
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exLineSize,TVariant(2));
Graph1->EndUpdate();
|
273
|
Customizes the values to display on the chart (showValue property includes the exValue)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->CategoryAxis->Visible = false;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
var_Serie->ValueFormat = L"category + `<br><b>` + (percent format ``) + `%`";
Graph1->EndUpdate();
|
272
|
Shows or hides the serie's value-points, value-lines and values

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam())->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
Graph1->EndUpdate();
|
271
|
Shows or hides the serie

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
Exgraphlib_tlb::ISeriePtr var_Serie = var_Series->Add(TVariant("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)"),TNoParam());
var_Serie->Visible = false;
var_Serie->Vertical = true;
var_Serie->Name = L"2001";
var_Series->Add(TVariant("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)"),TNoParam())->Name = L"2002";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
270
|
Show bars graph (the serie is showing the data vertically or horizontally)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->VisualAppearance->Add(1,TVariant(String("gBFLBCJwBAEHhEJAAEhABUQDg6AADACAxRDAMgBQKAAzAJBIYhiGgcYCgMZBSDeCYXABCEYRXBIZQ7BKNIxjSJwFiCCQwSDKEjyCKsGRHF6MI6gOYpCgOIYjRJNIASV") +
"AceAAHCUZrjSgobAiCYlTZCIBQS5oOBIACmabiegZLgmQInUrMEggVDgJSPuTWNQUdYdJQTHIZBpEWyLKjkNQwWrCNr3DTUEyNDauIDpCKLCpGZYYVRPOAgAKldxhGCa" +
"JokGkgc4HHyrcCwfDAMraCQQWAAF62Jb1JyrSSBchnOwpDpuCaVQLXUB5RRNQyZTiyIrtS5AAqnNJzW5cE46Li0B5QAC8QA1S7NPo/HaZT5kGB7ZDddzuADfcLlfD5Bx" +
"EDCUhQmEPAbl6K4hlKQ5snwNwtleDxpBeMRIHmd4+A8R4/BuRZvEABQDEmDJoHUOQZEYMgVjQSIEE0fwRjCWQJAoEIXHWQxCAGBBggAbpemOCJaDaRowkQKwfgSEJCBQ" +
"DAGnCWAsDYTJTLSBwOlgfghggIgohYIA3A0Iw8GcCxCigZAsguB4hBwQ4HAyZAMjMJhJjIPBdA0SZxkAOoPEOIhMGEDYJHGSB0gmIg5CYSAokgAZggME4DCkAhACbIhg" +
"ioIwImQDhXCOCQRHgNwogcIJyGCGImBGMAyAqYxJCISINAcAJcC0JxGmCbIiByQ5Zk4dYdCWORqFgJJGACYIkB0A5pn6AYgAmcY8DwHRDlCOg3CaZIKCwfgSgOOgUDwK" +
"RHFCfoUiWKRaF4eQACWMhUGEDoKHGWBAigag6gqJIpCmYJogMExDEqLA0ioah6giKAdkQGpOjWLQrGobjfEYMJwioHhEDqfpBjACohmAQoxGwewakiMpsisNBCCqbALE" +
"AQ40i0KtjCYRhQnSLQekQWxul2NwKlGaBEjgbg7gqZI5m4a4kEQK4tkuMBFjuLprFiDgnAYYJ8jAHxEHuXp5j4L4rnafI/m+PAGnoLBvgwEBH5Aa5Ih8GhEBKUIABKMJ" +
"sEMDwtAecQnBSRYxFwXwakYcZBCSNZDnGcQrCGlIigQagQkscgIEyShyjyKI3CARI8j8MZMDMLJXDSTZEjKYwqk6BJMnMPI8goMYwEQLoIEEOxElGNBdB8SpSHSTQjE6" +
"UZLj0FxRBONQ9E6cgpEaUQYj0IYFA0bxdlcNZilwfwTEiYRUDwHZDkCSxoAyNhQnMYgTHWYp4gcFB3C2Uxzl0N4IoQBvAjEwAQIApRfDvH2PELgOhEhUDwI0GgxBIgED" +
"QEMRQ4hPgGBKBgEgSBTjIHkHwS4KQ8siEQJIMIkQxCvBwCoS4hAQCkBuIYcIuRrBzE6BMK4Eg7D0HOEAewIgDilFwPwE4mBODvDUCoew9BsiMCyJYQg+BlAiEwMQNArx" +
"wCKH6PARYLR6hSCuFYMYFRSgZBMCwA45gfiFHSAocomB5AnCmGcH4tAkgNFGHkFQNAGAEHAN4GQERhgQF0GsDIxg/iTHIJwMw4RVA2EMCEOA9APgGE+JgNATBHE4F6Ac" +
"UAZwuAYAAAgBBAQ=="));
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
Exgraphlib_tlb::ISeriePtr var_Serie = var_Series->Add(TVariant("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)"),TNoParam());
var_Serie->set_Color(TVariant(16777216));
var_Serie->Vertical = true;
var_Series->Add(TVariant("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)"),TNoParam())->set_Color(TVariant(16777216));
Graph1->set_SeriesColors(TVariant("red,RGB(255,128,0)"));
Graph1->EndUpdate();
|
269
|
Defines the name of the chart serie which is visible in the legend

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::IValueAxisPtr var_ValueAxis = Graph1->ValueAxis;
var_ValueAxis->AsPercent = true;
var_ValueAxis->Format = L"(value * 100 format `0`) + `%`";
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant("Asian(10),Black(13),Hispanic(15),White(60),Other(7)"),TVariant("<fgcolor blue>Population"));
var_Series->Add(TVariant("Asian(65),Black(69),Hispanic(67),White(70),Other(68)"),TNoParam())->Name = L"<fgcolor teal>Height";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
268
|
Defines the visual appearance of the serie using EBN colors (method 3,mixt)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->VisualAppearance->Add(1,TVariant(String("gBFLBCJwBAEHhEJAAEhABVoDg6AADACAxRDAMgBQKAAzAJBIYhiGgcYCgMZBSDeCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADIOAzyPAsVwSGobRpkEaIMiONoYR5Ac4yF") +
"AcQxHE6TZRGeQRRiGModT5HFIxXIsBgRECEQChFzQcCQAJUVZFdAyVQlDRCGSpJrkEC4cBCCZPTzUNR1LS9WS1DoaRJoG4ZHDUMJyS7dcjyHINGwxMinJrwKA6bi6BAw" +
"YYAEwUPAYcT9QaRZznOQaLhiQIdVxDNbURgWKgVBK/AiqCA7Bq2VpYZZmFB5VJ9P5LPiEcE+fAdTQHUS0dItPR7OiacJ4TpdF48BhVdY7UCEdoADYtYxCP6qSxiFDUDA" +
"/CsF5KloAAXm4VBfEuKJUFuZxSi6DouAY34NDWdItg2HgTjaWZHDuVpPAae4DkQGRwjyXBvlcE47iMdoelQDYyHcHJkGGFIAEAARAGkGJHEGVByBkVBUCSFhEgQIQ2BM" +
"RpDGQJAoHuEIXDUCAGBGAYBHsc4NhMNJOCqCJCDoKIKiKGIuC6CxjAiMgyguYw4iSXg2g2MZoEcEJJjGLA4CiBwwnSJQdEOcogHcEBKjGZBDCuB4xBSMQfEQcpUgAEoL" +
"gICBMC6SBBDiPghkUEwEgkFJMEILBVCyR4RDiGQckcIY8DYCwJnGQA6hAJApBIRoSCSKQyE6FAlCkUhWhYJYpHIXoYCYIwcg0FZHiCeA0hqJpJjocIQmQWQeEmEpklkP" +
"hRhSZRZF4WYWmWWR+GEFRoCoEoGBmQpQiiAwTgMIh0G4DpokmToPh2KQpmaFYfCmCZ8jcH4EnITBYA+RpQkQLg3A0Iw8iMIAHgGQA3AsSZxjwPApkcYS5h4BAijQegRA" +
"sCRAjQH5EhKXIBBKS4pGSPQhgUAo4HUEtHhAPQxgqUoMmNjRQhAHA7G6I42CUM4HmEKA7jILIrDKTo0C0KxSlaNglhKXB/BMSBxFwUw6k4c4im2QZujwIJtCySYSGyFQ" +
"YEOKwuk2M5tBEHpTjUbR7GQTgjgUUJym+QoyAwJwiDsSAxDQNJEi8fBXBePpxiGXA8AyMgbjMI5MHIXIenaRQvhwYp8BOMpskMM5PnMLQHAyQ4xAyIw4kWL4sGZDoxmi" +
"GwxkKLpxlQPQLi8TQaniUgziwap+BMbwRBsBJBjIO48hcHIHEGMAyAqbBbB6SZVjKLQnDuNptlsfBvA2Qx4iyKwM4GR6BBBMDAQwxQIDkA8BQQYoA+iqGSEUNgmxKhKD" +
"KLwVojQ3AGACBAFIFxCAgFIE8RgogUgcBiAsUY8BJAYCaLMPw/xgDwD2F8BYwxtBcCeBcNoWxOBwFIGEZgRgagGCcA0cYJwajOCiFwf4BRhAID4DARYxAEhcCgJkYwdQ" +
"eB/CwCoeowhcgqBoAwAYWAxAVEiOIdAagkCLGCLmAoBwMB4DoEsRgYRwgyBkIcUg4BmAfZKEgQQUBGhCeGDYBAhQUDaBGBUAYeBHBVAcCIJ4KARCSCGGgbwcQjgaA4Gk" +
"foxgfjkDUV8GAswLCDE8AIBwtAjAAAQAggIA="));
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)"),TNoParam())->set_Color(TVariant(16777216));
var_Series->Add(TVariant("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)"),TNoParam())->set_Color(TVariant(16777216));
Graph1->set_SeriesColors(TVariant("red,RGB(255,128,0)"));
Graph1->EndUpdate();
|
267
|
Defines the color to show the serie (method 2)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)"),TNoParam());
var_Series->Add(TVariant("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)"),TNoParam());
Graph1->set_SeriesColors(TVariant("red,RGB(255,128,0)"));
Graph1->EndUpdate();
|
266
|
Defines the color to show the serie (method 1)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)"),TNoParam())->set_Color(TVariant("red"));
var_Series->Add(TVariant("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)"),TNoParam())->set_Color(TVariant(33023));
Graph1->EndUpdate();
|
265
|
Changes the position of the serie

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)"),TNoParam());
var_Series->Add(TVariant("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)"),TNoParam());
Graph1->Series->get_Item(TVariant(1))->Position = 0;
Graph1->EndUpdate();
|
264
|
Referencing a series by its key

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)"),TNoParam())->set_Key(TVariant("1st"));
var_Series->Add(TVariant("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)"),TNoParam())->set_Key(TVariant("2nd"));
Graph1->Series->get_Item(TVariant("2nd"))->Visible = false;
Graph1->EndUpdate();
|
263
|
Removes the serie (click to remove the serie)
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void __fastcall TForm1::Graph1Click(TObject *Sender)
{
Graph1->Series->Remove(TVariant(0));
}
Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam());
Graph1->EndUpdate();
|
262
|
Clears the series (click to remove all series)
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void __fastcall TForm1::Graph1Click(TObject *Sender)
{
Graph1->Series->Clear();
}
Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam());
Graph1->EndUpdate();
|
261
|
Add multiple series (mixt)
Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exBaseMajorUnits] = TVariant("1,5");
Graph1->CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::IValueAxesPtr var_ValueAxes = Graph1->ValueAxes;
Exgraphlib_tlb::IValueAxisPtr var_ValueAxis = var_ValueAxes->Add(TVariant("g+a"));
var_ValueAxis->set_End(TVariant(0.66));
var_ValueAxis->MajorGridLines->Step = 1000;
Exgraphlib_tlb::IValueAxisPtr var_ValueAxis1 = var_ValueAxes->Add(TVariant("p"));
var_ValueAxis1->set_Start(TVariant(0.66));
var_ValueAxis1->MajorGridLines->Step = 1000;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
Exgraphlib_tlb::ISeriePtr var_Serie = var_Series->Add(TVariant("UnitedStates(22.7),China(17.6),Japan(5.0),Germany(4.4),India(3.2),UnitedKingdom(3.1),France(3.0),Brazil(2.5)"),TVariant("GDP"));
var_Serie->Axis = L"g+a";
var_Serie->Stack = L"g+a";
var_Series->Add(TVariant("UnitedStates(331),China(1400),Japan(126),Germany(83),India(1400),UnitedKingdom(68),France(67),Brazil(213)"),TVariant("Population"))->Axis = L"p";
Exgraphlib_tlb::ISeriePtr var_Serie1 = var_Series->Add(TVariant("UnitedStates(9.8),China(9.6),Japan(0.377),Germany(0.357),India(3.3),UnitedKingdom(0.610),France(0.695),Brazil(8.5)"),TVariant("Area"));
var_Serie1->Axis = L"g+a";
var_Serie1->Stack = L"g+a";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
260
|
Add multiple series (same value-axis, stacked)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant("UnitedStates(22.7),China(17.6),Japan(5.0),Germany(4.4),India(3.2),UnitedKingdom(3.1),France(3.0),Brazil(2.5)"),TVariant("GDP"))->Stack = L"g+a";
var_Series->Add(TVariant("UnitedStates(331),China(1400),Japan(126),Germany(83),India(1400),UnitedKingdom(68),France(67),Brazil(213)"),TVariant("Population"));
var_Series->Add(TVariant("UnitedStates(9.8),China(9.6),Japan(0.377),Germany(0.357),India(3.3),UnitedKingdom(0.610),France(0.695),Brazil(8.5)"),TVariant("Area"))->Stack = L"g+a";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
259
|
Add multiple series (same value-axis, all stacked)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant("UnitedStates(22.7),China(17.6),Japan(5.0),Germany(4.4),India(3.2),UnitedKingdom(3.1),France(3.0),Brazil(2.5)"),TVariant("GDP"))->Stack = L"all";
var_Series->Add(TVariant("UnitedStates(331),China(1400),Japan(126),Germany(83),India(1400),UnitedKingdom(68),France(67),Brazil(213)"),TVariant("Population"))->Stack = L"all";
var_Series->Add(TVariant("UnitedStates(9.8),China(9.6),Japan(0.377),Germany(0.357),India(3.3),UnitedKingdom(0.610),France(0.695),Brazil(8.5)"),TVariant("Area"))->Stack = L"all";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
258
|
Add multiple series (same value-axis)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant("UnitedStates(22.7),China(17.6),Japan(5.0),Germany(4.4),India(3.2),UnitedKingdom(3.1),France(3.0),Brazil(2.5)"),TVariant("GDP"));
var_Series->Add(TVariant("UnitedStates(331),China(1400),Japan(126),Germany(83),India(1400),UnitedKingdom(68),France(67),Brazil(213)"),TVariant("Population"));
var_Series->Add(TVariant("UnitedStates(9.8),China(9.6),Japan(0.377),Germany(0.357),India(3.3),UnitedKingdom(0.610),France(0.695),Brazil(8.5)"),TVariant("Area"));
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
257
|
Add multiple series (different value axes)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::IValueAxesPtr var_ValueAxes = Graph1->ValueAxes;
Exgraphlib_tlb::IValueAxisPtr var_ValueAxis = var_ValueAxes->Add(TVariant("g"));
var_ValueAxis->set_End(TVariant(0.33));
var_ValueAxis->Visible = false;
var_ValueAxis->MajorGridLines->Step = 1000;
Exgraphlib_tlb::IValueAxisPtr var_ValueAxis1 = var_ValueAxes->Add(TVariant("p"));
var_ValueAxis1->set_Start(TVariant(0.33));
var_ValueAxis1->set_End(TVariant(0.66));
var_ValueAxis1->Visible = false;
var_ValueAxis1->MajorGridLines->Step = 1000;
Exgraphlib_tlb::IValueAxisPtr var_ValueAxis2 = var_ValueAxes->Add(TVariant("a"));
var_ValueAxis2->set_Start(TVariant(0.66));
var_ValueAxis2->Visible = false;
var_ValueAxis2->MajorGridLines->Step = 1000;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant("UnitedStates(22.7),China(17.6),Japan(5.0),Germany(4.4),India(3.2),UnitedKingdom(3.1),France(3.0),Brazil(2.5)"),TVariant("GDP"))->Axis = L"g";
var_Series->Add(TVariant("UnitedStates(331),China(1400),Japan(126),Germany(83),India(1400),UnitedKingdom(68),France(67),Brazil(213)"),TVariant("Population"))->Axis = L"p";
var_Series->Add(TVariant("UnitedStates(9.8),China(9.6),Japan(0.377),Germany(0.357),India(3.3),UnitedKingdom(0.610),France(0.695),Brazil(8.5)"),TVariant("Area"))->Axis = L"a";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
256
|
Display the values over the columns

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValuePoint = L"0,,,,,,0";
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam())->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
255
|
Defines the pad, distance between value-label and its frame (the number indicated by the ValuePoint property in the 11-th position)
Graph1->BeginUpdate();
Graph1->ValueSize = 48;
Graph1->ValuePoint = L",,,,,,,,,,8";
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam())->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
254
|
Defines the size of the frame around the value-label (the number indicated by the ValuePoint property in the 10-th position)

Graph1->BeginUpdate();
Graph1->ValueSize = 48;
Graph1->ValuePoint = L",,,,,,,,,4";
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam())->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
253
|
Defines the color of the frame around the value-label (the color indicated by the ValuePoint property in the 9-th position)

Graph1->BeginUpdate();
Graph1->ValueSize = 48;
Graph1->ValuePoint = L",,,,,,,,red";
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam())->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
252
|
Defines the background color of the value-label (the color indicated by the ValuePoint property in the 8-th position)

Graph1->BeginUpdate();
Graph1->ValueSize = 48;
Graph1->ValuePoint = L",,,,,,,red";
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam())->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
251
|
Defines the length of the line (the number indicated by the ValuePoint property in the 7-th position)

Graph1->BeginUpdate();
Graph1->ValueSize = 48;
Graph1->ValuePoint = L",,,,,,0";
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam())->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
250
|
Defines the size of the line from the value point to its label (the number indicated by the ValuePoint property in the 6-th position)

Graph1->BeginUpdate();
Graph1->ValueSize = 48;
Graph1->ValuePoint = L",,,,,4";
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam())->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
249
|
Defines the color of the line from the value point to its label (the color indicated by the ValuePoint property in the 5-th position)

Graph1->BeginUpdate();
Graph1->ValueSize = 48;
Graph1->ValuePoint = L",,,,red";
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam())->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
248
|
Defines the size of the frame around the value point (the number indicated by the ValuePoint property in the 4-th position)

Graph1->BeginUpdate();
Graph1->ValueSize = 48;
Graph1->ValuePoint = L",,,4";
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam())->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
247
|
Defines the color of the frame around the value point (the color indicated by the ValuePoint property in the 3-rd position)

Graph1->BeginUpdate();
Graph1->ValueSize = 48;
Graph1->ValuePoint = L",,red";
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam())->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
246
|
Defines the color of the value point (the color indicated by the ValuePoint property in the 2-nd position)

Graph1->BeginUpdate();
Graph1->ValueSize = 48;
Graph1->ValuePoint = L",red";
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam())->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
245
|
Defines the size of the value point (the number indicated by the ValuePoint property in the first position)

Graph1->BeginUpdate();
Graph1->ValueSize = 48;
Graph1->ValuePoint = L"16";
Graph1->Series->Add(TVariant("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)"),TNoParam())->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
244
|
Disables resizing the chart by drag and drop (resize the chart's value by clicking and dragging with the middle mouse button)
Graph1->BeginUpdate();
Graph1->ValueSize = 64;
Graph1->AllowValueResize = false;
Graph1->Series->Add(TVariant("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"),TNoParam());
Graph1->Series->Add(TVariant("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)"),TNoParam());
Graph1->Cursor->Visible = true;
Graph1->EndUpdate();
|
243
|
Scrolls programatically the chart
Graph1->BeginUpdate();
Graph1->ValueSize = 8;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Graph1->ValueAxis->Format = L"value format ``";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"msft";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"candle";
Graph1->ScrollPos[Exgraphlib_tlb::ScrollBarEnum::exHScroll] = 256;
Graph1->EndUpdate();
|
242
|
Disables scrolling the chart by clicking and dragging the chart
Graph1->BeginUpdate();
Graph1->ValueSize = 8;
Graph1->AllowScroll = false;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Graph1->ValueAxis->Format = L"value format ``";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"msft";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"candle";
Graph1->EndUpdate();
|
241
|
Disables the scroll bars
Graph1->BeginUpdate();
Graph1->ValueSize = 8;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Graph1->ValueAxis->Format = L"value format ``";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"msft";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"candle";
Graph1->ScrollBars = Exgraphlib_tlb::ScrollBarsEnum::exNoScroll;
Graph1->AllowScroll = false;
Graph1->EndUpdate();
|
240
|
Hides the scroll bars
Graph1->BeginUpdate();
Graph1->ValueSize = 8;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Graph1->ValueAxis->Format = L"value format ``";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"msft";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"candle";
Graph1->ScrollBars = Exgraphlib_tlb::ScrollBarsEnum::exNoScroll;
Graph1->EndUpdate();
|
239
|
The maximum value of the axis does not fit the view. Is there anything I can do to ensure that it fits the view

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Graph1->set_Pad(TVariant(24));
Graph1->EndUpdate();
|
238
|
Customizes the "no or invalid data" message

Graph1->Invalid = L"<fgcolor red>no or invalid data";
Graph1->FormatText = Exgraphlib_tlb::DrawTextFormatEnum::exTextAlignBottom | Exgraphlib_tlb::DrawTextFormatEnum::exTextAlignCenter;
|
237
|
Sorts descending the serie

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam())->Vertical = true;
Graph1->Sort = L"0:D";
Graph1->EndUpdate();
|
236
|
Sorts ascending the serie

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam())->Vertical = true;
Graph1->Sort = L"0";
Graph1->EndUpdate();
|
235
|
I changed the ValueSize property but it appears that it has no effect

Graph1->BeginUpdate();
Graph1->ValueSize = 32;
Graph1->AutoFit = false;
Graph1->CategoryAxis->Format = L"value replace `Ocean` with ``";
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam())->Type = L"Column";
Graph1->EndUpdate();
|
234
|
Defines the size to show a column or a bar within the chart

Graph1->BeginUpdate();
Graph1->ValueSize = 32;
Graph1->CategoryAxis->Format = L"value replace `Ocean` with ``";
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Graph1->EndUpdate();
|
233
|
Customizes the tooltip (shown while the cursor hovers value-points of the chart)

Graph1->BeginUpdate();
Graph1->Background[Exgraphlib_tlb::BackgroundPartEnum::exToolTipBackColor] = RGB(1,0,0);
Graph1->Background[Exgraphlib_tlb::BackgroundPartEnum::exToolTipForeColor] = RGB(255,255,255);
Graph1->ToolTipFormat = L"`<b>` + category + `</b><br>Value: ` + (value format ``)";
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam())->ShowValue = Exgraphlib_tlb::ShowValueEnum::exPoint;
Graph1->EndUpdate();
|
232
|
Resizes the elements of the series to fit the control's content

Graph1->BeginUpdate();
Graph1->Series->Add(TVariant("1,2,3,4"),TNoParam());
Graph1->AutoFit = true;
Graph1->EndUpdate();
|
231
|
Defines the preset color scheme for the chart's series, encompassing both regular and reduced values

Graph1->BeginUpdate();
Graph1->ValueSize = 8;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Graph1->ValueAxis->Format = L"value format ``";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"msft";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"candle";
Graph1->set_SeriesColors(TVariant("gray"));
Graph1->set_SeriesColorsDecrease(TVariant("black"));
Graph1->EndUpdate();
|
230
|
Defines the default colors for the chart's series

Graph1->BeginUpdate();
Graph1->VisualAppearance->Add(1,TVariant(String("gBFLBCJwBAEHhEJAAEhABUQDg6AADACAxRDAMgBQKAAzAJBIYhiGgcYCgMZBSDeCYXABCEYRXBIZQ7BKNIxjSJwFiCCQwSDKEjyCKsGRHF6MI6gOYpCgOIYjRJNIASV") +
"AceAAHCUZrjSgobAiCYlTZCIBQS5oOBIACmabiegZLgmQInUrMEggVDgJSPuTWNQUdYdJQTHIZBpEWyLKjkNQwWrCNr3DTUEyNDauIDpCKLCpGZYYVRPOAgAKldxhGCa" +
"JokGkgc4HHyrcCwfDAMraCQQWAAF62Jb1JyrSSBchnOwpDpuCaVQLXUB5RRNQyZTiyIrtS5AAqnNJzW5cE46Li0B5QAC8QA1S7NPo/HaZT5kGB7ZDddzuADfcLlfD5Bx" +
"EDCUhQmEPAbl6K4hlKQ5snwNwtleDxpBeMRIHmd4+A8R4/BuRZvEABQDEmDJoHUOQZEYMgVjQSIEE0fwRjCWQJAoEIXHWQxCAGBBggAbpemOCJaDaRowkQKwfgSEJCBQ" +
"DAGnCWAsDYTJTLSBwOlgfghggIgohYIA3A0Iw8GcCxCigZAsguB4hBwQ4HAyZAMjMJhJjIPBdA0SZxkAOoPEOIhMGEDYJHGSB0gmIg5CYSAokgAZggME4DCkAhACbIhg" +
"ioIwImQDhXCOCQRHgNwogcIJyGCGImBGMAyAqYxJCISINAcAJcC0JxGmCbIiByQ5Zk4dYdCWORqFgJJGACYIkB0A5pn6AYgAmcY8DwHRDlCOg3CaZIKCwfgSgOOgUDwK" +
"RHFCfoUiWKRaF4eQACWMhUGEDoKHGWBAigag6gqJIpCmYJogMExDEqLA0ioah6giKAdkQGpOjWLQrGobjfEYMJwioHhEDqfpBjACohmAQoxGwewakiMpsisNBCCqbALE" +
"AQ40i0KtjCYRhQnSLQekQWxul2NwKlGaBEjgbg7gqZI5m4a4kEQK4tkuMBFjuLprFiDgnAYYJ8jAHxEHuXp5j4L4rnafI/m+PAGnoLBvgwEBH5Aa5Ih8GhEBKUIABKMJ" +
"sEMDwtAecQnBSRYxFwXwakYcZBCSNZDnGcQrCGlIigQagQkscgIEyShyjyKI3CARI8j8MZMDMLJXDSTZEjKYwqk6BJMnMPI8goMYwEQLoIEEOxElGNBdB8SpSHSTQjE6" +
"UZLj0FxRBONQ9E6cgpEaUQYj0IYFA0bxdlcNZilwfwTEiYRUDwHZDkCSxoAyNhQnMYgTHWYp4gcFB3C2Uxzl0N4IoQBvAjEwAQIApRfDvH2PELgOhEhUDwI0GgxBIgED" +
"QEMRQ4hPgGBKBgEgSBTjIHkHwS4KQ8siEQJIMIkQxCvBwCoS4hAQCkBuIYcIuRrBzE6BMK4Eg7D0HOEAewIgDilFwPwE4mBODvDUCoew9BsiMCyJYQg+BlAiEwMQNArx" +
"wCKH6PARYLR6hSCuFYMYFRSgZBMCwA45gfiFHSAocomB5AnCmGcH4tAkgNFGHkFQNAGAEHAN4GQERhgQF0GsDIxg/iTHIJwMw4RVA2EMCEOA9APgGE+JgNATBHE4F6Ac" +
"UAZwuAYAAAgBBAQ=="));
Graph1->Misc[Exgraphlib_tlb::MiscEnum::extVisibleBeforeAxis] = TVariant(1);
Graph1->AutoFit = true;
Graph1->set_DataOptions(TVariant("hdr=1 eor=';' eof=' '"));
Graph1->set_Data(TVariant(String("Month Min Max;Jan -2 10;Feb 0 12;Mar 3 15;Apr 7 18;May 12 22;Jun 16 25;Jul 18 28;Aug 17 27;Sep 14 24;Oct 9 19;Nov 4 15;Dec 0 10") +
""));
Exgraphlib_tlb::IValueAxisPtr var_ValueAxis = Graph1->ValueAxis;
var_ValueAxis->Format = L"value + `°`";
var_ValueAxis->MajorGridLines->set_Color(TVariant("transparent"));
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Month"));
var_CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->set_Data(TVariant("Min,Max"));
var_Serie->Type = L"RangeColumn";
var_Serie->Vertical = true;
var_Serie->set_Color(TVariant(16777216));
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
229
|
Updates the x-axis, y-axis

Exgraphlib_tlb::ILineOptionsPtr var_LineOptions = Graph1->XAxis->AxisLine;
var_LineOptions->Width = 2;
var_LineOptions->set_Color(TVariant("red"));
Exgraphlib_tlb::ILineOptionsPtr var_LineOptions1 = Graph1->YAxis->AxisLine;
var_LineOptions1->Width = 2;
var_LineOptions1->set_Color(TVariant("red"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->set_Data(TVariant("1 99 1,2 96 2,3 92 3,4 86 4,5 79 5,6 70 6,7 60 7,8 50 8,9 38 9,10 25 10,11 13 11"));
var_Serie->Type = L"bubble";
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exScatterPlotSize,TVariant(96));
|
228
|
Updates the default/first value-axis

Exgraphlib_tlb::IValueAxisPtr var_ValueAxis = Graph1->ValueAxis;
var_ValueAxis->Tfi = L"<fgcolor red>";
Graph1->Series->Add(TVariant(String("Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(8") +
"0202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(1" +
"46890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)"),TNoParam());
|
227
|
Updates the default/first category-axis

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania"));
var_CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
Exgraphlib_tlb::ISeriePtr var_Serie = var_Series->Add(TVariant("4600,1300,747,579,0,422,42"),TNoParam());
var_Serie->Name = L"Population";
var_Serie->Type = L"Line";
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exLineSize,TVariant(3));
Exgraphlib_tlb::ISeriePtr var_Serie1 = var_Series->Add(TVariant("4458,3037,1018,2470,1784,1018,856"),TNoParam());
var_Serie1->Name = L"Area";
var_Serie1->Type = L"Column";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
226
|
Add multiple series into the same view

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania"));
var_CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
Exgraphlib_tlb::ISeriePtr var_Serie = var_Series->Add(TVariant("4600,1300,747,579,0,422,42"),TNoParam());
var_Serie->Name = L"Population";
var_Serie->Type = L"Line";
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exLineSize,TVariant(3));
Exgraphlib_tlb::ISeriePtr var_Serie1 = var_Series->Add(TVariant("4458,3037,1018,2470,1784,1018,856"),TNoParam());
var_Serie1->Name = L"Area";
var_Serie1->Type = L"Column";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
225
|
Do do I get the DAO version I have installed
OutputDebugString( Variant::CreateObject(L"DAO.DBEngine.35")->Version->Version );
OutputDebugString( Variant::CreateObject(L"DAO.DBEngine.36")->Version->Version );
OutputDebugString( Variant::CreateObject(L"DAO.DBEngine.120")->Version->Version );
|
224
|
How do I get a list of interfaces the object implemenets
Graph1->BeginUpdate();
/*
Select the Component\Import Component...\Import a Type Library,
to import the following Type Library:
Microsoft Office 15.0 Access database engine Object Library
TypeLib: ACEDAO.DLL
to define the namespace: Dao_tlb
*/
//#include "DAO_TLB.h"
Dao_tlb::_DBEnginePtr var_PrivDBEngine = Variant::CreateObject(L"DAO.DBEngine.120");
Dao_tlb::Recordset2Ptr rs = var_PrivDBEngine->OpenDatabase(L"C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb",TNoParam(),TNoParam(),TNoParam())->OpenRecordset(L"MSFT",TNoParam(),TNoParam(),TNoParam());
OutputDebugString( PChar(Variant::CreateObject(L"Exontrol.PropertiesList")) );
Graph1->DataSource = (IDispatch*)rs;
Graph1->EndUpdate();
|
223
|
Do do I get the ADO version I have installed
OutputDebugString( L"ADO Version:" );
OutputDebugString( Variant::CreateObject(L"ADODB.Connection")->Version->Version );
|
222
|
DAO, ACCDB, 120

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
/*
Select the Component\Import Component...\Import a Type Library,
to import the following Type Library:
Microsoft Office 15.0 Access database engine Object Library
TypeLib: ACEDAO.DLL
to define the namespace: Dao_tlb
*/
//#include "DAO_TLB.h"
Dao_tlb::_DBEnginePtr var_PrivDBEngine = Variant::CreateObject(L"DAO.DBEngine.120");
Dao_tlb::Recordset2Ptr rs = var_PrivDBEngine->OpenDatabase(L"C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb",TNoParam(),TNoParam(),TNoParam())->OpenRecordset(L"MSFT",TNoParam(),TNoParam(),TNoParam());
Graph1->DataSource = (IDispatch*)rs;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Date"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->Format = L"value left 7";
var_FormatGridLinesOptions->Align = Exgraphlib_tlb::DrawTextFormatEnum::exTextCalcRect;
var_FormatGridLinesOptions->set_Color(TVariant("lightgray"));
var_CategoryAxis->Format = L"value left 7";
var_CategoryAxis->Split = true;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"ohlc";
Graph1->EndUpdate();
|
221
|
DAO, MDB, 120

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
/*
Select the Component\Import Component...\Import a Type Library,
to import the following Type Library:
Microsoft Office 15.0 Access database engine Object Library
TypeLib: ACEDAO.DLL
to define the namespace: Dao_tlb
*/
//#include "DAO_TLB.h"
Dao_tlb::_DBEnginePtr var_PrivDBEngine = Variant::CreateObject(L"DAO.DBEngine.120");
Dao_tlb::Recordset2Ptr rs = var_PrivDBEngine->OpenDatabase(L"C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb",TNoParam(),TNoParam(),TNoParam())->OpenRecordset(L"MSFT",TNoParam(),TNoParam(),TNoParam());
Graph1->DataSource = (IDispatch*)rs;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Date"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->Format = L"value left 7";
var_FormatGridLinesOptions->Align = Exgraphlib_tlb::DrawTextFormatEnum::exTextCalcRect;
var_FormatGridLinesOptions->set_Color(TVariant("lightgray"));
var_CategoryAxis->Format = L"value left 7";
var_CategoryAxis->Split = true;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"ohlc";
Graph1->EndUpdate();
|
220
|
DAO, MDB

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
/*
Select the Component\Import Component...\Import a Type Library,
to import the following Type Library:
Microsoft DAO 3.6 Object Library
TypeLib: dao360.dll
to define the namespace: Dao_tlb
*/
//#include "DAO_TLB.h"
Dao_tlb::_DBEnginePtr var_PrivDBEngine = Variant::CreateObject(L"DAO.DBEngine.36");
Dao_tlb::RecordsetPtr rs = var_PrivDBEngine->OpenDatabase(L"C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.mdb",TNoParam(),TNoParam(),TNoParam())->OpenRecordset(L"MSFT",TNoParam(),TNoParam(),TNoParam());
Graph1->DataSource = (IDispatch*)rs;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Date"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->Format = L"value left 7";
var_FormatGridLinesOptions->Align = Exgraphlib_tlb::DrawTextFormatEnum::exTextCalcRect;
var_FormatGridLinesOptions->set_Color(TVariant("lightgray"));
var_CategoryAxis->Format = L"value left 7";
var_CategoryAxis->Split = true;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"ohlc";
Graph1->EndUpdate();
|
219
|
ADODB, ACCDB, x64

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
/*
Select the Component\Import Component...\Import a Type Library,
to import the following Type Library:
Microsoft ActiveX Data Objects 6.1 Library
TypeLib: msado15.dll
to define the namespace: Adodb_tlb
*/
//#include "ADODB_TLB.h"
Adodb_tlb::_RecordsetPtr rs = Variant::CreateObject(L"ADODB.Recordset");
rs->Open(TVariant("MSFT"),TVariant("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb"),Adodb_tlb::CursorTypeEnum::adOpenKeyset,Adodb_tlb::LockTypeEnum::adLockReadOnly,0);
Graph1->DataSource = (IDispatch*)rs;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Date"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->Format = L"value left 7";
var_FormatGridLinesOptions->Align = Exgraphlib_tlb::DrawTextFormatEnum::exTextCalcRect;
var_FormatGridLinesOptions->set_Color(TVariant("lightgray"));
var_CategoryAxis->Format = L"value left 7";
var_CategoryAxis->Split = true;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"ohlc";
Graph1->EndUpdate();
|
218
|
ADOR, ACCDB

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
/*
Select the Component\Import Component...\Import a Type Library,
to import the following Type Library:
Microsoft ActiveX Data Objects 6.1 Library
TypeLib: msado15.dll
to define the namespace: Adodb_tlb
*/
//#include "ADODB_TLB.h"
Adodb_tlb::_RecordsetPtr rs = Variant::CreateObject(L"ADOR.Recordset");
rs->Open(TVariant("MSFT"),TVariant("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb"),Adodb_tlb::CursorTypeEnum::adOpenStatic,Adodb_tlb::LockTypeEnum::adLockOptimistic,0);
Graph1->DataSource = (IDispatch*)rs;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Date"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->Format = L"value left 7";
var_FormatGridLinesOptions->Align = Exgraphlib_tlb::DrawTextFormatEnum::exTextCalcRect;
var_FormatGridLinesOptions->set_Color(TVariant("lightgray"));
var_CategoryAxis->Format = L"value left 7";
var_CategoryAxis->Split = true;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"ohlc";
Graph1->EndUpdate();
|
217
|
ADODB, MDB

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
/*
Select the Component\Import Component...\Import a Type Library,
to import the following Type Library:
Microsoft ActiveX Data Objects 6.1 Library
TypeLib: msado15.dll
to define the namespace: Adodb_tlb
*/
//#include "ADODB_TLB.h"
Adodb_tlb::_RecordsetPtr rs = Variant::CreateObject(L"ADODB.Recordset");
rs->Open(TVariant("MSFT"),TVariant("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb"),Adodb_tlb::CursorTypeEnum::adOpenStatic,Adodb_tlb::LockTypeEnum::adLockOptimistic,0);
Graph1->DataSource = (IDispatch*)rs;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Date"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->Format = L"value left 7";
var_FormatGridLinesOptions->Align = Exgraphlib_tlb::DrawTextFormatEnum::exTextCalcRect;
var_FormatGridLinesOptions->set_Color(TVariant("lightgray"));
var_CategoryAxis->Format = L"value left 7";
var_CategoryAxis->Split = true;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"ohlc";
Graph1->EndUpdate();
|
216
|
ADOR, MDB

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
/*
Select the Component\Import Component...\Import a Type Library,
to import the following Type Library:
Microsoft ActiveX Data Objects 6.1 Library
TypeLib: msado15.dll
to define the namespace: Adodb_tlb
*/
//#include "ADODB_TLB.h"
Adodb_tlb::_RecordsetPtr rs = Variant::CreateObject(L"ADOR.Recordset");
rs->Open(TVariant("MSFT"),TVariant("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb"),Adodb_tlb::CursorTypeEnum::adOpenStatic,Adodb_tlb::LockTypeEnum::adLockOptimistic,0);
Graph1->DataSource = (IDispatch*)rs;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Date"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->Format = L"value left 7";
var_FormatGridLinesOptions->Align = Exgraphlib_tlb::DrawTextFormatEnum::exTextCalcRect;
var_FormatGridLinesOptions->set_Color(TVariant("lightgray"));
var_CategoryAxis->Format = L"value left 7";
var_CategoryAxis->Split = true;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"ohlc";
Graph1->EndUpdate();
|
215
|
The value-axis gets updated as soon as the control is scrolled. It is possible to prevent that

Graph1->BeginUpdate();
Graph1->ValueSize = 2;
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exUpdateRangeOnScroll] = TVariant(0);
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt"));
OutputDebugString( PChar(Graph1->get_DataSample()) );
Graph1->Series->Add(TVariant("AAPL (open),AAPL (high),AAPL (low),AAPL (close)"),TNoParam())->Type = L"candle";
Graph1->EndUpdate();
|
214
|
Debug the data I loaded, or gatter a data sample

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt"));
OutputDebugString( PChar(Graph1->get_DataSample()) );
Graph1->EndUpdate();
|
213
|
Imports the control's data from a safe array (array, method 3)

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
/*
Select the Component\Import Component...\Import a Type Library,
to import the following Type Library:
Microsoft ActiveX Data Objects 6.1 Library
TypeLib: msado15.dll
to define the namespace: Adodb_tlb
*/
//#include "ADODB_TLB.h"
Adodb_tlb::_RecordsetPtr rs = Variant::CreateObject(L"ADOR.Recordset");
rs->Open(TVariant("MSFT"),TVariant("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb"),Adodb_tlb::CursorTypeEnum::adOpenStatic,Adodb_tlb::LockTypeEnum::adLockOptimistic,0);
Graph1->set_Data(TVariant(rs->GetRows(0,TNoParam(),TNoParam())));
OutputDebugString( PChar(Graph1->get_DataSample()) );
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->set_Data(TVariant("Column 2,Column 3,Column 4,Column 5"));
var_Serie->Type = L"candle";
Graph1->EndUpdate();
|
212
|
Imports the control's data from a CSV format (file, method 2)

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"aapl";
var_Serie->set_Data(TVariant("AAPL (open),AAPL (high),AAPL (low),AAPL (close)"));
var_Serie->Type = L"candle";
Graph1->EndUpdate();
|
211
|
Imports the control's data from a CSV format (content, string, method 2)

Graph1->BeginUpdate();
Graph1->Misc[Exgraphlib_tlb::MiscEnum::extVisibleBeforeAxis] = TVariant(1);
Graph1->AutoFit = true;
Graph1->set_DataOptions(TVariant("hdr=1 eor=';' eof=' '"));
Graph1->set_Data(TVariant(String("Month Min Max;Jan -2 10;Feb 0 12;Mar 3 15;Apr 7 18;May 12 22;Jun 16 25;Jul 18 28;Aug 17 27;Sep 14 24;Oct 9 19;Nov 4 15;Dec 0 10") +
""));
Exgraphlib_tlb::IValueAxisPtr var_ValueAxis = Graph1->ValueAxis;
var_ValueAxis->Format = L"value + `°`";
var_ValueAxis->MajorGridLines->set_Color(TVariant("transparent"));
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Month"));
var_CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->set_Data(TVariant("Min,Max"));
var_Serie->Type = L"RangeColumn";
var_Serie->Vertical = true;
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
210
|
Imports the control's data from a CSV format (file, method 1)

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
Graph1->Import(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt"),TNoParam());
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"aapl";
var_Serie->set_Data(TVariant("AAPL (open),AAPL (high),AAPL (low),AAPL (close)"));
var_Serie->Type = L"candle";
Graph1->EndUpdate();
|
209
|
Imports the control's data from a CSV format (content, string, method 1)

Graph1->BeginUpdate();
Graph1->Misc[Exgraphlib_tlb::MiscEnum::extVisibleBeforeAxis] = TVariant(1);
Graph1->AutoFit = true;
Graph1->Import(TVariant(String("Month Min Max;Jan -2 10;Feb 0 12;Mar 3 15;Apr 7 18;May 12 22;Jun 16 25;Jul 18 28;Aug 17 27;Sep 14 24;Oct 9 19;Nov 4 15;Dec 0 10") +
""),TVariant("hdr=1 eor=';' eof=' '"));
Exgraphlib_tlb::IValueAxisPtr var_ValueAxis = Graph1->ValueAxis;
var_ValueAxis->Format = L"value + `°`";
var_ValueAxis->MajorGridLines->set_Color(TVariant("transparent"));
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Month"));
var_CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->set_Data(TVariant("Min,Max"));
var_Serie->Type = L"RangeColumn";
var_Serie->Vertical = true;
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
208
|
Defines the field delimitators, such as eor(end of record), eof(end of field) and hdr(header)

Graph1->BeginUpdate();
Graph1->Misc[Exgraphlib_tlb::MiscEnum::extVisibleBeforeAxis] = TVariant(1);
Graph1->AutoFit = true;
Graph1->set_DataOptions(TVariant("hdr=1 eor=';' eof=' '"));
Graph1->set_Data(TVariant("Month Min Max;Jan -5 2;Feb -4 7;Mar 1 12;Apr 5 17;May 10 23;Jun 14 26;Jul 15 28;Aug 14 28;Sep 11 25;Oct 5 18;Nov 1 9;Dec -3 4"));
Exgraphlib_tlb::IValueAxisPtr var_ValueAxis = Graph1->ValueAxis;
var_ValueAxis->Format = L"value + `°`";
var_ValueAxis->MajorGridLines->set_Color(TVariant("transparent"));
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Month"));
var_CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->set_Data(TVariant("Min,Max"));
var_Serie->Type = L"RangeColumn";
Graph1->set_SeriesColors(TVariant(String("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)"));
Graph1->EndUpdate();
|
207
|
Defines the size of the control's tooltip margins

// MouseMove event - Occurs when the user moves the mouse.
void __fastcall TForm1::Graph1MouseMove(TObject *Sender,short Button,short Shift,int X,int Y)
{
Graph1->ShowToolTip(L"just a text to be shown when cursor hovers the view",TVariant("title"),TNoParam(),TNoParam(),TNoParam());
}
Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ToolTipMargin = L"16,16";
Graph1->Series->Add(TVariant("Asia(4600),Africa(1300),Europe(747),North America(579),South America(433),Australia/Oceania(42)"),TNoParam());
Graph1->EndUpdate();
|
206
|
Sets the size of icons the control displays

Graph1->BeginUpdate();
Graph1->ImageSize = 32;
Graph1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("<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)"),TNoParam());
Graph1->set_SeriesColors(TVariant("blue"));
Graph1->EndUpdate();
|
205
|
Prevents the control to fire any event

Graph1->FreezeEvents(true);
Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam())->Vertical = true;
Graph1->EndUpdate();
Graph1->FreezeEvents(false);
|
204
|
Display columns using EBN colors (BASE64)

Graph1->BeginUpdate();
Graph1->VisualAppearance->Add(1,TVariant(String("gBFLBCJwBAEHhEJAAEhABUQDg6AADACAxRDAMgBQKAAzAJBIYhiGgcYCgMZBSDeCYXABCEYRXBIZQ7BKNIxjSJwFiCCQwSDKEjyCKsGRHF6MI6gOYpCgOIYjRJNIASV") +
"AceAAHCUZrjSgobAiCYlTZCIBQS5oOBIACmabiegZLgmQInUrMEggVDgJSPuTWNQUdYdJQTHIZBpEWyLKjkNQwWrCNr3DTUEyNDauIDpCKLCpGZYYVRPOAgAKldxhGCa" +
"JokGkgc4HHyrcCwfDAMraCQQWAAF62Jb1JyrSSBchnOwpDpuCaVQLXUB5RRNQyZTiyIrtS5AAqnNJzW5cE46Li0B5QAC8QA1S7NPo/HaZT5kGB7ZDddzuADfcLlfD5Bx" +
"EDCUhQmEPAbl6K4hlKQ5snwNwtleDxpBeMRIHmd4+A8R4/BuRZvEABQDEmDJoHUOQZEYMgVjQSIEE0fwRjCWQJAoEIXHWQxCAGBBggAbpemOCJaDaRowkQKwfgSEJCBQ" +
"DAGnCWAsDYTJTLSBwOlgfghggIgohYIA3A0Iw8GcCxCigZAsguB4hBwQ4HAyZAMjMJhJjIPBdA0SZxkAOoPEOIhMGEDYJHGSB0gmIg5CYSAokgAZggME4DCkAhACbIhg" +
"ioIwImQDhXCOCQRHgNwogcIJyGCGImBGMAyAqYxJCISINAcAJcC0JxGmCbIiByQ5Zk4dYdCWORqFgJJGACYIkB0A5pn6AYgAmcY8DwHRDlCOg3CaZIKCwfgSgOOgUDwK" +
"RHFCfoUiWKRaF4eQACWMhUGEDoKHGWBAigag6gqJIpCmYJogMExDEqLA0ioah6giKAdkQGpOjWLQrGobjfEYMJwioHhEDqfpBjACohmAQoxGwewakiMpsisNBCCqbALE" +
"AQ40i0KtjCYRhQnSLQekQWxul2NwKlGaBEjgbg7gqZI5m4a4kEQK4tkuMBFjuLprFiDgnAYYJ8jAHxEHuXp5j4L4rnafI/m+PAGnoLBvgwEBH5Aa5Ih8GhEBKUIABKMJ" +
"sEMDwtAecQnBSRYxFwXwakYcZBCSNZDnGcQrCGlIigQagQkscgIEyShyjyKI3CARI8j8MZMDMLJXDSTZEjKYwqk6BJMnMPI8goMYwEQLoIEEOxElGNBdB8SpSHSTQjE6" +
"UZLj0FxRBONQ9E6cgpEaUQYj0IYFA0bxdlcNZilwfwTEiYRUDwHZDkCSxoAyNhQnMYgTHWYp4gcFB3C2Uxzl0N4IoQBvAjEwAQIApRfDvH2PELgOhEhUDwI0GgxBIgED" +
"QEMRQ4hPgGBKBgEgSBTjIHkHwS4KQ8siEQJIMIkQxCvBwCoS4hAQCkBuIYcIuRrBzE6BMK4Eg7D0HOEAewIgDilFwPwE4mBODvDUCoew9BsiMCyJYQg+BlAiEwMQNArx" +
"wCKH6PARYLR6hSCuFYMYFRSgZBMCwA45gfiFHSAocomB5AnCmGcH4tAkgNFGHkFQNAGAEHAN4GQERhgQF0GsDIxg/iTHIJwMw4RVA2EMCEOA9APgGE+JgNATBHE4F6Ac" +
"UAZwuAYAAAgBBAQ=="));
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
var_Serie->set_Color(TVariant(16777216));
var_Serie->Vertical = true;
Graph1->EndUpdate();
|
203
|
Display columns using EBN colors

Graph1->BeginUpdate();
Graph1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam())->set_Color(TVariant(16777216));
Graph1->EndUpdate();
|
202
|
Show images

Graph1->BeginUpdate();
Graph1->HTMLPicture[L"china"] = TVariant("c:\\exontrol\\images\\zipdisk.gif");
Graph1->HTMLPicture[L"india"] = TVariant("c:\\exontrol\\images\\auction.gif");
Graph1->HTMLPicture[L"usa"] = TVariant("c:\\exontrol\\images\\colorize.gif");
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exShowValueIf] = TVariant(0);
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exShowLabelsIf] = TVariant(0);
Graph1->ValueSize = 32;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("<img>china</img>,<img>india</img>,<img>usa</img>"));
var_CategoryAxis->MajorGridLines->set_Color(TVariant("lightgray"));
Graph1->Series->Add(TVariant("1410,1390,331"),TNoParam());
Graph1->EndUpdate();
|
201
|
Shows a custom tooltip

// MouseMove event - Occurs when the user moves the mouse.
void __fastcall TForm1::Graph1MouseMove(TObject *Sender,short Button,short Shift,int X,int Y)
{
Graph1->ShowToolTip(L"just a text to be shown when cursor hovers the view",TVariant("title"),TNoParam(),TNoParam(),TNoParam());
}
Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Asia(4600),Africa(1300),Europe(747),North America(579),South America(433),Australia/Oceania(42)"),TNoParam());
Graph1->EndUpdate();
|