当前位置:网站首页>Bulletgraph (bullet diagram, bullet diagram)
Bulletgraph (bullet diagram, bullet diagram)
2022-07-26 18:14:00 【DotNeter-Hpf】
List of articles
1. summary
- Bullet Graph Is a variant of bar chart
- The spring chart has a single main measure ( for example , Current year to date revenue )
- Bullet Graph Display a large amount of data in a very compact space
- It can be used for income analysis and expense analysis
2. introduction
BulletGraph bullet = new BulletGraph();
bullet.Dock = DockStyle.Fill;
bullet.FlowDirection = BulletGraphFlowDirection.Forward;
bullet.Orientation = Orientation.Horizontal;
bullet.FeaturedMeasure = 4.5;
bullet.ComparativeMeasure = 7;
bullet.LabelFontSize = 10;
bullet.LabelStroke = Color.Black;
bullet.MajorTickStroke = Color.Black;
bullet.Minimum = 0;
bullet.Maximum = 10;
bullet.Interval = 2;
bullet.MinorTicksPerInterval = 3;
bullet.QualitativeRanges.Add(new QualitativeRange() {
RangeEnd = 4, RangeCaption = "Bad", RangeStroke = Color.Red });
bullet.QualitativeRanges.Add(new QualitativeRange() {
RangeEnd = 7, RangeCaption = "Satisfactory", RangeStroke = Color.Yellow });
bullet.QualitativeRanges.Add(new QualitativeRange() {
RangeEnd = 10, RangeCaption = "Good", RangeStroke = Color.Green });
this.Controls.Add(bullet);

3. Properties and methods
| attribute | describe | Code addition | Designer add |
|---|---|---|---|
FlowDirection | Direction of numerical flow (Forward: From small to large ;Backward: From big to small ) | bullet.FlowDirection = BulletGraphFlowDirection.Forward; | ![]() |
Orientation | Direction ( Horizontal or vertical ) | bullet.Orientation = Orientation.Horizontal; | ![]() |
FeaturedMeasure | Characteristic measurement ( actual value ) | bullet.FeaturedMeasure = 4.5; | ![]() |
FeaturedMeasureBarStroke | Characteristic measured stroke color ( Line color of actual value ) | bullet.FeaturedMeasureBarStroke = Color.Red; | ![]() |
ComparativeMeasure | Compare metrics ( Target value ) | bullet.ComparativeMeasure = 7; | ![]() |
ComparativeMeasureSymbolStroke | Compare measure colors ( Target value color ) | bullet.ComparativeMeasureSymbolStroke = Color.Red; | ![]() |
LabelFontSize | Label font size ( Lower scale size ) | bullet.LabelFontSize = 10; | ![]() |
LabelStroke | Label stroke ( Lower scale color ) | bullet.LabelStroke = Color.Black; | ![]() |
Minimum | Minimum scale | bullet.Minimum = 0; | ![]() |
Maximum | The largest scale | bullet.Maximum = 10; | ![]() |
Interval | Scale interval | bullet.Interval = 2; | ![]() |
MinorTicksPerInterval | Count of minor divisions displayed between major divisions | bullet.MinorTicksPerInterval = 2; | ![]() |
MinorTickSize | The length of the secondary scale mark | bullet.MinorTickSize = 10; | ![]() |
MinorTickStroke | Minor scale color ( The premise is that the previous attribute setting >0 Value ) | bullet.MajorTickStroke = Color.Black; | ![]() |
QuantitativeScaleLength | Length of quantitative scale | bullet.QuantitativeScaleLength = 400; | ![]() |
QualitativeRangesSize | The height of the quantitative scale | bullet.QualitativeRangesSize = 30; | ![]() |
Caption | describe BulletGraph Unique title | bullet.Caption = “Test”; | ![]() |
CaptionPosition | Title Position (Near: near ;Far: far )) | bullet.CaptionPosition=BulletGraphCaptionPosition.Near | ![]() |
BindRangeStrokeToTicks | Match the tick mark color with RangeStroke Keep the color consistent | bullet.BindRangeStrokeToTicks = true; | ![]() |
BindRangeStrokeToLabels | Match the color of the tick mark label with RangeStroke Keep the color consistent | bullet.BindRangeStrokeToLabels = true; | ![]() |
MajorTickSize | The length of the major scale mark | bullet.MajorTickSize = 15; | ![]() |
MajorTickStroke | Main scale color | bullet.MajorTickStroke = Color.Red; | ![]() |
TickPosition | The position of the scale mark (Below: below ;Above: upper ;Cross: cross ) | bullet.TickPosition = BulletGraphTicksPosition.Cross; | ![]() |
LabelPosition | Set the label position of the scale (Below: below ;Above: above ) | bullet.LabelPosition = BulletGraphLabelsPosition.Above; | ![]() |
LabelFormat | Format labels | bullet.LabelFormat = “#1 K”; | ![]() |
LabelOffset | Offset value ( Distance between scale and label ) | bullet.LabelOffset = 5; | ![]() |
QualitativeRanges Qualitative range
bullet.QualitativeRanges.Add(new QualitativeRange() {
RangeEnd = 4, RangeCaption = "Bad", RangeStroke = Color.Red });
bullet.QualitativeRanges.Add(new QualitativeRange() {
RangeEnd = 7, RangeCaption = "Satisfactory", RangeStroke = Color.Yellow });
bullet.QualitativeRanges.Add(new QualitativeRange() {
RangeEnd = 10, RangeCaption = "Good", RangeStroke = Color.Green });

QualitativeRange attribute
RangeStart: Get or set the starting value of the rangeRangeEnd: Get or set the range end valueRangeStroke: Gets or sets the range stroke colorRangeOpacity: Gets or sets the range opacityRangeCaption: Get or set the scope Title
4. Comrade, don't go , Add one QQ Group

Document reference :BulletGraph file
Document reference :BulletGraph App
边栏推荐
- Deep learning experiment: softmax realizes handwritten digit recognition
- 成为测试/开发程序员,小张:现实就来了个下马威......
- openssl
- 【集训Day1】Spy dispatch
- [Day2] cinema ticket
- 8.2 some algebraic knowledge (groups, cyclic groups and subgroups)
- [unity3d] rocker
- Spark数据格式UnsafeRow
- LeetCode50天刷题计划(Day 1—— 两数相加 11.00-12.30)
- 8.1 Diffie Hellman key exchange
猜你喜欢

8.1 Diffie Hellman key exchange
![[Oumi reading club] talk about the creator economy in the meta universe: infinite dimension](/img/60/17cb0295f81dc580cc3ff8543ec253.png)
[Oumi reading club] talk about the creator economy in the meta universe: infinite dimension

During the oppo interview, 16 questions were thrown over. I was stupid

Come on developer! Not only for the 200000 bonus, try the best "building blocks" for a brainstorming!

AI遮天传 ML-无监督学习

线性回归——以一道等差数列的题为例

【集训Day3】delete

数据仓库:详解维度建模之事实表

Rookie cpaas platform microservice governance practice

Leetcode 50 day question brushing plan (day 5 - longest palindrome substring 10.50-13:00)
随机推荐
Leetcode 50 day question brushing plan (day 2 - the longest substring without repeated characters 10.00-12.00)
PMP考试详解,新考纲有什么变化?
7、 Common commands of ROS (II): rosservice, rossrv, rosparam
PS_1_认识主界面_新建文档(分辨率)_打开保存(序列动画)
3、 Topic communication: create your own information format
【集训Day1】Spy dispatch
长征证券开户安全吗?
How to become a better data scientist by learning to ask questions
LeetCode 0139. 单词拆分
What is the PMP exam outline in 2022?
Coscon'22 city / school / institution producer solicitation order
SSH based online mall
Tianyi cloud web application firewall (edge cloud version) supports the detection and interception of Apache spark shell command injection vulnerabilities
8.2 一些代数知识(群、循环群和子群)
Hosts this file has been set to read-only solution
Cross Site Request Forgery (CSRF)
【欧米读书会】谈谈元宇宙中的创作者经济:无限次元
【英雄哥七月集训】第 25天: 树状数组
线性回归——以一道等差数列的题为例
ssm练习第四天_获取用户名_用户退出_用户crud_密码加密_角色_权限

























