亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? xchart.vb

?? chart圖片,統(tǒng)計(jì),網(wǎng)上下來的源代碼
?? VB
?? 第 1 頁 / 共 5 頁
字號(hào):
Option Strict Off
Option Explicit On
<System.Runtime.InteropServices.ProgId("XChart_NET.XChart")> Public Class XChart
	Inherits System.Windows.Forms.UserControl
	Public Event ChartTypeChange()
	Public Event ChartTitleColorChange()
	Public Event BarColorChange()
	Public Event MaxYChange()
	Public Event AxisLabelXColorChange()
	Public Event HotTrackingChange()
	Public Event ChartSubTitleColorChange()
	Public Event AxisItemsXColorChange()
	Public Event InfoBackColorChange()
	Public Event AxisItemsYColorChange()
	Public Event MajorGridColorChange()
	Public Event SelectedBarColorChange()
	Public Event InfoForeColorChange()
	Public Event MinYChange()
	Public Event LineColorChange()
	Public Event AxisLabelYColorChange()
	Public Event BackColorChange()
	Public Event CustomMenuItemsChange()
	
	Private Structure PointAPI 'API Point structure
		Dim X As Integer
		Dim Y As Integer
	End Structure
	
	Private Const PI As Double = 3.14159265358979
	Private Const RADS As Double = PI / 180 '<Degrees> * RADS = radians
	
	'UPGRADE_WARNING: 結(jié)構(gòu) PointAPI 可能要求封送處理屬性作為此 Declare 語句中的參數(shù)傳遞。 單擊以獲得更多信息:“ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"”
	Private Declare Function Polygon Lib "gdi32" (ByVal hDC As Integer, ByRef lpPoint As PointAPI, ByVal nCount As Integer) As Integer
	
	Private uColumns() As Double 'array of column height values
	'used to determine hittest feature.
	
	'--------------------------------------------------------------------------------
	Public Enum LegendPrintConstants 'the enumerated for legend printing
		legPrintNone = 0
		legPrintGraph
		legPrintText
	End Enum
	
	Private uLegendPrintMode As LegendPrintConstants
	
	Public Enum PrinterFitConstants 'the enumerated for printing
		prtFitCentered = 0
		prtFitStretched
		prtFitTopLeft
		prtFitTopRight
		prtFitBottomLeft
		prtFitBottomRight
	End Enum
	
	Private uPrinterFit As PrinterFitConstants
	'UPGRADE_ISSUE: PrinterObjectConstants 對(duì)象 未升級(jí)。 單擊以獲得更多信息:“ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6B85A2A7-FE9F-4FBE-AA0C-CF11AC86A305"”
    Private uPrinterOrientation As PrinterObjectConstants
	Private uDataFormat As String 'the data format for numeric values
	Private dblMeanValue As Double 'the mean value
	Private uMeanOn As Boolean 'marker indicating if the mean value must be displayed
	Private uMeanColor As Integer 'the mean line color
	Private Const MEAN_CAPTION As String = "Mean"
	Private uMeanCaption As String 'the mean caption used in the legend
	Private uPicture As System.Drawing.Image 'the background picture
	'(TRUE) or stretched (FALSE)
	Private uBarPicture As System.Drawing.Image 'the background picture
	'(shadow takes effect only if line width is 1!)
	Private uAutoRedraw As Boolean 'marker indicating if the chart is auto-redrawn
	'upon every property change
	Private uRangeY As Short 'the absolute range between Y-axis min. ad max. values
	Private uDataType As Short 'indicates the data distribution in the Y axis
	Private Const DT_BOTH As Short = 0 ' 0 = range(-Y0, +Y1)
	Private Const DT_NEG As Short = 1 ' 1 = range(-Y0, -Y1)
	Private Const DT_POS As Short = 2 ' 2 = range(+Y0, +Y1)
	
	Private uMinYValue As Double 'minimum y value
	Private uLineColor As Integer 'the color of the line
	Private uLineStyle As Short 'the line style
	Private uBarColor As Integer 'the backcolor of the bars
	Private uBarFillStyle As Short 'the bars fill style
	Private uSelectedBarColor As Integer 'the selected bar backcolor
	Private uMajorGridColor As Integer 'the major intersect grid color
	Private uMinorGridOn As Boolean 'marker indicating display of minor grid
	Private uMajorGridOn As Boolean 'marker indicating display of major grid
	Private uInfoBackColor As Integer 'the information box background color
	Private uInfoForeColor As Integer 'the information box foreground color
	Private uXAxisLabelColor As Integer 'the X axis label color
	Private uYAxisLabelColor As Integer 'the Y axis label color
	Private uXAxisItemsColor As Integer 'the X axis items color
	Private uYAxisItemsColor As Integer 'the Y axis items color
	Private uChartTitleColor As Integer 'the chart title color
	Private uChartSubTitleColor As Integer 'the chart subtitle color
	Private uSaveAsCaption As String 'the SaveAs dialog box caption
	Private uInfoItems As String 'the information items (to be displayed in the info box)
	Private Const INFO_ITEMS As String = "Value|Description|Mean"
	
	Public Enum ChartMenuConstants 'the enumerated for menu type
		xcPopUpMenu = 0
		xcButtonMenu
	End Enum
	
	Private uMenuItems As String 'the menu's items.
	Private Const MENU_ITEMS As String = "&Save as...|&Print|&Copy|Selection &information|&Legend|&Hide"
	
	Private uCustomMenuItems As String 'the custom menu's items.
	Private Const CUSTOM_MENU_ITEMS As Object = Nothing
	
	Private uLegendCaption As String 'the legend's tooltip string
	Private Const LEGEND_CAPTION As String = "Display legend"
	
	Private Const XC_BAR As Short = 1
	Private Const XC_SYMBOL As Short = 2
	Private Const XC_LINE As Short = 4
	Private Const XC_OVAL As Short = 8
	Private Const XC_TRIANGLE As Short = 16
	Private Const XC_RHOMBUS As Short = 32
	Private Const XC_TRAPEZIUM As Short = 64
	Public Enum ChartTypeConstants 'the enumerated for chart type
		xcBar = XC_BAR
		xcSymbol = XC_SYMBOL
		xcLine = XC_LINE
		xcBarLine = XC_BAR + XC_LINE
		xcSymbolLine = XC_SYMBOL + XC_LINE
		xcOval = XC_OVAL
		xcOvalLine = XC_OVAL + XC_LINE
		xcTriangle = XC_TRIANGLE
		xcTriangleLine = XC_TRIANGLE + XC_LINE
		xcRhombus = XC_RHOMBUS
		xcRhombusLine = XC_RHOMBUS + XC_LINE
		xcTrapezium = XC_TRAPEZIUM
		xcTrapeziumLine = XC_TRAPEZIUM + XC_LINE
	End Enum
	
	Private uChartType As ChartTypeConstants 'the chart type.
	Private uBarWidthPercentage As Short 'the column width (in percentage) just for bar type
	Private uLineWidth As Short 'the line width (used when uChartType=xcLine and for bar border in case of uChartType=xcBar)
	
	Private Const IDX_SAVE As Short = 0 'the command buttons' indexs
	Private Const IDX_PRINT As Short = 1
	Private Const IDX_COPY As Short = 2
	Private Const IDX_INFO As Short = 3
	Private Const IDX_LEGEND As Short = 4
	'--------------------------------------------------------------------------------
	
	Private uColWidth As Single 'the calculated width of each column
	Private uRowHeight As Single 'the calculated height of each column
	Private uTopMargin As Single '--------------------------------------
	Private uBottomMargin As Single 'margins used around the chart content
	Private uLeftMargin As Single '
	Private uRightMargin As Single
	Private uRightMarginOrg As Single '--------------------------------------
	Private uContentBorder As Boolean 'border around the chart content?
	Private uSelectable As Boolean 'marker indicating whether user can select a column
	Private uHotTracking As Boolean 'marker indicating use of hot tracking
	Private uSelectedColumn As Short 'marker indicating the selected column
	Private uOldSelection As Integer
	Private uDisplayDescript As Boolean 'display description when selectable
	Private uChartTitle As String 'chart title
	Private uChartSubTitle As String 'chart sub title
	Private uAxisXOn As Boolean 'marker indicating display of x axis
	Private uAxisYOn As Boolean 'marker indicating display of y axis
	Private uColorBars As Boolean 'marker indicating use of different coloured bars
	Private uIntersectMajor As Single 'major intersect value
	Private uIntersectMinor As Single 'minor intersect value
	Private uMaxYValue As Double 'maximum y value
	Private uXAxisLabel As String 'label to be displayed below the X-Axis
	Private uYAxisLabel As String 'label to be displayed left of the Y-Axis
	Private cItems As Collection 'collection of chart items
	
	Private offsetX As Integer
	Private offsetY As Integer
	
	Private bLegendAdded As Boolean
	Private bLegendClicked As Boolean
	Private bDisplayLegend As Boolean
	Private bResize As Boolean
	Private bResizeLegend As Boolean
	
	Private bProcessingOver As Boolean 'marker to speed up mouse over effects
	
	Public Structure ChartItem
		Dim ItemID As String
		Dim SelectedDescription As String
		Dim LegendDescription As String
		Dim XAxisDescription As String
		Dim Value As Double
	End Structure
	
	Public Event ItemClick(ByVal Sender As System.Object, ByVal e As ItemClickEventArgs)
	Public Event MenuItemClick(ByVal Sender As System.Object, ByVal e As MenuItemClickEventArgs)
	Public Shadows Event MouseDown(ByVal Sender As System.Object, ByVal e As MouseDownEventArgs)
	Public Shadows Event MouseUp(ByVal Sender As System.Object, ByVal e As MouseUpEventArgs)
	
	Public Function AddItem(ByRef cItem As ChartItem) As Boolean '5225522525
		Dim oChartItem As ChartItem
		cItems.Add(cItem)
		If uMeanOn = True Then
			
			'UPGRADE_WARNING: IsEmpty 已升級(jí)到 IsNothing 并具有新行為。 單擊以獲得更多信息:“ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"”
			If IsNothing(uMeanCaption) Then uMeanCaption = MEAN_CAPTION
			With oChartItem
				.Value = dblMeanValue
				.ItemID = uMeanCaption
				.XAxisDescription = uMeanCaption
				.SelectedDescription = uMeanCaption
				.LegendDescription = uMeanCaption
			End With
			cItems.Add(oChartItem)
		End If
	End Function
	
	Private Sub DrawTrapezium(ByRef dblData As Double, ByRef sngX1 As Single, ByRef sngX2 As Single, ByRef sngY1 As Single, ByRef sngY2 As Single)
		
		On Error Resume Next
		
		Dim lRet As Integer
		Dim sngXTemp As Single
		Dim sngYTemp As Single
		Dim lngFillColor As Integer
		Dim uaPts(3) As PointAPI
		Dim intScaleMode As Short
		
		'the polygon function works only with pixels!
		'UPGRADE_ISSUE: UserControl 屬性 UserControl.ScaleMode 未升級(jí)。 單擊以獲得更多信息:“ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"”
		intScaleMode = MyBase.ScaleMode
		'UPGRADE_ISSUE: 常量 vbPixels 未升級(jí)。 單擊以獲得更多信息:“ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="55B59875-9A95-4B71-9D6A-7C294BF7139D"”

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美电视剧免费观看| 久久99精品久久久久久久久久久久| www.欧美亚洲| 亚洲图片激情小说| 91电影在线观看| 水野朝阳av一区二区三区| 欧美大片日本大片免费观看| 久久aⅴ国产欧美74aaa| 国产欧美视频在线观看| 91一区二区三区在线观看| 亚洲曰韩产成在线| 欧美一级午夜免费电影| 国产成人av电影免费在线观看| 亚洲国产精品激情在线观看| 色综合天天综合在线视频| 亚洲国产精品久久久久婷婷884 | 欧美三日本三级三级在线播放| 亚洲一级片在线观看| 91精品国产全国免费观看| 国产精品66部| 五月激情综合婷婷| 国产欧美日韩综合| 在线成人午夜影院| 成人午夜视频福利| 午夜a成v人精品| 中文字幕第一区二区| 欧美日韩三级在线| 粉嫩一区二区三区性色av| 亚洲一区二区中文在线| 久久久久久久国产精品影院| 91福利精品第一导航| 国产剧情av麻豆香蕉精品| 一区二区三区在线免费| 精品国产91乱码一区二区三区| 91丨porny丨中文| 六月婷婷色综合| 亚洲免费在线电影| 久久久高清一区二区三区| 欧美日韩精品欧美日韩精品一 | 一卡二卡三卡日韩欧美| 2020国产精品| 欧美日韩成人一区| 成人va在线观看| 免费观看一级特黄欧美大片| 日韩毛片在线免费观看| 久久久久久影视| 91精品啪在线观看国产60岁| 99国产精品视频免费观看| 激情综合色播激情啊| 亚洲成人av福利| 亚洲女人****多毛耸耸8| 久久久久久久久岛国免费| 日韩一区二区三区电影| 欧美艳星brazzers| 波多野结衣中文字幕一区| 国内成人自拍视频| 蜜臀a∨国产成人精品| 亚洲成a人在线观看| 亚洲色图色小说| 国产精品私人影院| 久久久亚洲精品一区二区三区| 日韩一区二区精品在线观看| 欧美视频在线观看一区二区| 日本高清视频一区二区| 91香蕉视频污在线| 99久久综合精品| 粉嫩高潮美女一区二区三区| 国产主播一区二区| 韩国精品久久久| 精彩视频一区二区| 加勒比av一区二区| 久久精品免费观看| 久久 天天综合| 麻豆精品在线播放| 蜜臀99久久精品久久久久久软件| 亚洲成人一二三| 日韩精品国产精品| 日韩国产高清影视| 奇米影视一区二区三区| 青青草精品视频| 蜜臀a∨国产成人精品| 毛片av一区二区| 国产精品亚洲成人| 成人动漫在线一区| 在线欧美小视频| 欧美精品一区二区三区很污很色的| 欧美精品久久一区二区三区| 51精品秘密在线观看| 欧美一区二区在线观看| 欧美mv日韩mv| 欧美韩国日本不卡| 亚洲视频你懂的| 一区二区三区在线观看动漫| 亚洲国产精品欧美一二99| 日韩专区欧美专区| 国产一区在线观看视频| 成人黄色在线网站| 色哟哟一区二区| 欧美日韩国产在线观看| 日韩欧美在线网站| 日本一区二区免费在线观看视频| 中文字幕在线观看一区| 亚洲一区在线观看免费 | 中文字幕不卡一区| 亚洲影院免费观看| 麻豆精品在线播放| voyeur盗摄精品| 6080国产精品一区二区| 久久久99久久精品欧美| 亚洲欧美区自拍先锋| 午夜免费欧美电影| 国产寡妇亲子伦一区二区| 色94色欧美sute亚洲13| 欧美一级二级三级乱码| 国产精品青草综合久久久久99| 亚洲精品免费视频| 国产精品影视天天线| 在线免费亚洲电影| 国产网站一区二区三区| 亚洲大片一区二区三区| 国产jizzjizz一区二区| 欧美日韩一区二区不卡| 久久久久久久久久久久电影| 亚洲一区二区三区在线播放| 国产大陆亚洲精品国产| 欧美午夜电影在线播放| 国产精品三级电影| 久久精品国产精品亚洲红杏| 91一区二区在线观看| 久久亚洲精华国产精华液| 亚洲成a人在线观看| av一二三不卡影片| 精品国产露脸精彩对白| 亚洲国产日韩a在线播放| 成人国产亚洲欧美成人综合网| 欧美蜜桃一区二区三区| 亚洲色图制服诱惑| 成人免费黄色在线| 久久无码av三级| 日韩成人dvd| 色香蕉久久蜜桃| 国产情人综合久久777777| 久久99久久久欧美国产| 欧美电影一区二区三区| 一区二区在线观看av| 成人app软件下载大全免费| 2023国产精华国产精品| 免费的成人av| 7777精品伊人久久久大香线蕉最新版| 亚洲猫色日本管| 92国产精品观看| 中文字幕欧美一区| 成熟亚洲日本毛茸茸凸凹| 久久午夜羞羞影院免费观看| 久久精品国产亚洲a| 欧美一区二区免费| 日韩二区三区四区| 91精品在线免费观看| 亚洲国产wwwccc36天堂| 欧美午夜不卡在线观看免费| 亚洲精品免费一二三区| 日本福利一区二区| 亚洲品质自拍视频| 色婷婷综合久久久久中文| 日韩美女视频一区二区| 99精品在线免费| 亚洲蜜臀av乱码久久精品 | 天堂va蜜桃一区二区三区| 色综合av在线| 亚洲综合在线电影| 欧美在线免费观看亚洲| 亚洲a一区二区| 91精品国产欧美日韩| 久久er精品视频| 久久免费电影网| 成人国产在线观看| 亚洲一区二区四区蜜桃| 欧美日产国产精品| 久久精品国产精品亚洲红杏| 久久久精品中文字幕麻豆发布| 国产69精品久久久久777| 亚洲欧美激情小说另类| 欧美性色黄大片| 蜜桃视频第一区免费观看| 国产欧美综合色| 在线视频欧美精品| 久久精品久久精品| 国产精品久久影院| 欧美视频一区二区| 蜜臀久久99精品久久久画质超高清| 欧美tk—视频vk| 成人福利视频在线| 日日噜噜夜夜狠狠视频欧美人| 精品久久久久久久久久久久包黑料 | 成人中文字幕合集| 亚洲免费视频中文字幕| 91麻豆精品久久久久蜜臀| 国产精品影视在线| 亚洲一区二区美女| 欧美精品一区二区久久婷婷|