About the point style of ImagePointSeries?
Posted: Wed Nov 12, 2008 10:27 am
I have changed the type of the point style to "Square" at the style combobox ,then run the BCB6.0,but the points painted on the form
are not "Square",just the default blue points.
I have tried all the types in the combobox ,but nothing to get changes,
just the default blue points.
[img]
http://img1.freep.cn/p.aspx?u=v20_img1_ ... 103843.jpg
[/img]
[img]
http://img1.freep.cn/p.aspx?u=v20_img1_ ... 103843.jpg
[/img]
Code:
are not "Square",just the default blue points.
I have tried all the types in the combobox ,but nothing to get changes,
just the default blue points.
[img]
http://img1.freep.cn/p.aspx?u=v20_img1_ ... 103843.jpg
[/img]
[img]
http://img1.freep.cn/p.aspx?u=v20_img1_ ... 103843.jpg
[/img]
Code:
Code: Select all
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "ImaPoint.hpp"
#include <Chart.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include <Series.hpp>
#include <TeEngine.hpp>
#include <TeeProcs.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TChart *Chart1;
TImagePointSeries *Series1;
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "ImaPoint"
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
Chart1->Series[0]->FillSampleValues(100);
}