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

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

?? xchart.vb

?? chart圖片,統(tǒng)計,網(wǎng)上下來的源代碼
?? VB
?? 第 1 頁 / 共 5 頁
字號:
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 對象 未升級。 單擊以獲得更多信息:“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 已升級到 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 未升級。 單擊以獲得更多信息:“ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"”
		intScaleMode = MyBase.ScaleMode
		'UPGRADE_ISSUE: 常量 vbPixels 未升級。 單擊以獲得更多信息:“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
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
天天影视网天天综合色在线播放| 99精品一区二区| 丰满白嫩尤物一区二区| 波多野结衣中文字幕一区| 91美女精品福利| 欧美日韩一区二区三区免费看| 欧美一区二区在线观看| 久久久久成人黄色影片| 亚洲精品免费一二三区| 美女久久久精品| 欧美日韩一区不卡| www国产精品av| 亚洲精品免费电影| 久久精品理论片| 99久免费精品视频在线观看| 欧美另类videos死尸| 久久久久久久久久美女| 一区二区三区国产| 狠狠色狠狠色综合系列| 91免费观看视频| 欧美成人一级视频| 一区二区三区资源| 国产一区在线不卡| 欧美在线看片a免费观看| 精品国产亚洲在线| 夜夜精品浪潮av一区二区三区| 韩国午夜理伦三级不卡影院| 日本高清不卡视频| 国产女主播一区| 另类成人小视频在线| 在线视频欧美区| 国产精品美女久久久久久久久久久| 日韩电影一区二区三区| 91视频一区二区| 久久久久国产成人精品亚洲午夜 | 国产美女在线精品| 欧美亚洲动漫另类| 国产精品美日韩| 寂寞少妇一区二区三区| 欧美日韩一本到| 亚洲色图在线看| 国产精品自拍在线| 欧美videos中文字幕| 亚洲一区二区三区四区五区中文| 国产精品一二一区| 欧美一区二区视频在线观看2020| 夜夜嗨av一区二区三区四季av| 国产白丝网站精品污在线入口| 欧美一区二区三区日韩| 亚洲成人tv网| 91成人在线观看喷潮| 国产精品久久久久久久久搜平片 | 日韩精品一区二| 日韩福利电影在线| 欧美在线观看禁18| 亚洲色图在线播放| 99视频精品在线| 国产丝袜欧美中文另类| 国产一区二区三区精品欧美日韩一区二区三区| 欧美午夜精品免费| 亚洲免费av高清| 日本黄色一区二区| 综合久久久久综合| 不卡一区二区三区四区| 久久久噜噜噜久久中文字幕色伊伊| 蜜臀久久久久久久| 欧美一区二区网站| 青青草原综合久久大伊人精品| 欧美日韩免费不卡视频一区二区三区| 亚洲欧美一区二区三区国产精品 | 天天做天天摸天天爽国产一区| 91高清在线观看| 一区二区欧美视频| 91久久精品日日躁夜夜躁欧美| 一区二区三区在线免费| 91九色02白丝porn| 一区二区三区国产| 欧美日韩激情一区二区| 丝袜诱惑亚洲看片| 91精品国产综合久久久久久漫画 | 久久综合五月天婷婷伊人| 久久精品国产久精国产爱| 精品三级av在线| 国产福利视频一区二区三区| 国产女主播在线一区二区| www.欧美日韩| 亚洲激情图片一区| 欧美日韩综合色| 青青草91视频| 久久综合九色综合97_久久久| 国产91综合一区在线观看| 国产精品三级av在线播放| 97se狠狠狠综合亚洲狠狠| 一区二区高清在线| 欧美日韩在线播放三区四区| 蜜桃一区二区三区在线观看| 精品国内二区三区| 99视频精品免费视频| 亚洲精品国产一区二区精华液 | 视频一区中文字幕| 精品美女在线观看| 国产成人精品1024| 一区二区三区中文字幕在线观看| 欧美精品色综合| 激情综合五月婷婷| 中文字幕亚洲综合久久菠萝蜜| 91免费视频大全| 日韩中文字幕1| 国产亚洲视频系列| 欧美优质美女网站| 久久99深爱久久99精品| 国产精品久久久久久久裸模 | 亚洲成人福利片| 欧美成人女星排名| 99国产精品一区| 理论片日本一区| 亚洲三级电影网站| 日韩三级av在线播放| 成人app在线| 五月综合激情婷婷六月色窝| 国产婷婷色一区二区三区四区| 91激情五月电影| 国产中文一区二区三区| 中文字幕一区二区三区蜜月| 欧美精品自拍偷拍| 成人免费视频一区| 亚洲123区在线观看| 国产午夜三级一区二区三| 欧美午夜精品久久久久久超碰 | 久久久国产精华| 欧美日韩在线电影| 成人看片黄a免费看在线| 午夜精品123| 国产日本亚洲高清| 51精品秘密在线观看| av一区二区三区在线| 九九久久精品视频| 国产精品综合一区二区| 视频一区欧美精品| 亚洲三级在线播放| 国产亚洲欧美日韩在线一区| 欧美日韩国产高清一区二区三区 | 中文字幕免费一区| 这里只有精品免费| 一本大道久久精品懂色aⅴ| 久久se精品一区精品二区| 一区二区三区日韩| 国产精品美女久久久久av爽李琼| 欧美丰满少妇xxxbbb| 成人av网站免费| 精品一区二区三区久久| 五月综合激情网| 樱桃视频在线观看一区| 国产日韩欧美a| 精品乱人伦一区二区三区| 欧美日韩精品一区二区三区四区 | 一区二区三区在线视频观看| 久久久综合激的五月天| 欧美一区二区三区思思人| 一本大道久久精品懂色aⅴ| 成人禁用看黄a在线| 国产麻豆精品95视频| 美女脱光内衣内裤视频久久影院| 一区二区三区在线视频观看| 亚洲欧洲精品一区二区三区不卡 | 成a人片国产精品| 国产一区91精品张津瑜| 欧美a一区二区| 日本欧美韩国一区三区| 亚洲一区在线观看网站| 一区二区三区在线观看网站| 日韩一区在线播放| 亚洲欧美综合另类在线卡通| 欧美激情综合在线| 久久久精品影视| 久久精品视频一区| 久久久久久久久久久久电影| 精品国产一区a| 精品国产凹凸成av人导航| 精品久久久久久久久久久院品网| 9191成人精品久久| 91精品国产综合久久精品性色 | 精品一区二区三区影院在线午夜 | 国产亚洲欧洲997久久综合| 久久精品亚洲乱码伦伦中文| 久久久91精品国产一区二区精品 | 99在线精品一区二区三区| 成人禁用看黄a在线| 99久久99久久精品免费看蜜桃| 99久久99久久久精品齐齐| 色老汉av一区二区三区| 欧美午夜不卡视频| 欧美老女人在线| 日韩欧美色电影| 久久精品亚洲麻豆av一区二区| 久久精品亚洲一区二区三区浴池| 国产精品视频一二三区| 亚洲丝袜美腿综合| 亚洲国产日韩a在线播放性色| 日韩中文字幕区一区有砖一区|