Default Balloon

Features/Balloon 2009. 3. 22. 18:44





 
            SeriesList sList = new SeriesList();
            sList.ChartType = ChartType.Line;

            Random r = new Random();
            for (int i = 0; i < 4; i++)
            {
                Series sr = new Series();
                sr.Points.Width = 6;
                sr.Points.PointType = PointType.FillRectangle;

                for (int x = 0; x < 5; x++)
                {
                    SeriesItem item = new SeriesItem();
                    item.Name = "item" + x.ToString();
                    item.YValue = r.Next(50);

                    if (i == 3 && x == 2)
                    {
                        item.Balloon = new Balloon();
                        item.Balloon.Label.Text = "Here!";
                    }

                    sr.items.Add(item);
                }
                sList.SeriesCollection.Add(sr);
            }

            this.hHippoChart1.LegendBox.Visible = false;
            this.hHippoChart1.Titles.Label.ForeColor = Color.SteelBlue;
            this.hHippoChart1.DesignType = ChartDesignType.Simple;
            this.hHippoChart1.SeriesListDictionary.Add(sList);
            this.hHippoChart1.DrawChart();  


사업자 정보 표시
히포차트 | 하영대 | 경기도 성남시 수정구 복정동 631-5 401 | 사업자 등록번호 : 129-34-55719 | TEL : 031-751-6673 | Mail : hippochart@gmail.com | 통신판매신고번호 : 제 2010-경기성남-1203호 | 사이버몰의 이용약관 바로가기

'Features > Balloon' 카테고리의 다른 글

Balloon using Rectangle and Bottom and BackColor(White)  (0) 2009.03.29
Balloon using Line and IsShadow  (0) 2009.03.22

Posted by 리바이 병장
,


/* 다음 웹인사이드 로그 분석*/