dotnetclassic
-
Posts
22 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by dotnetclassic
-
-
You can download code in first message in this post.
-
thanx to reply
its working gr8 but on mouse move index is not returning correctly some time.
Some time index on correct index and some time its near index value
DirectCast(DirectCast(Chart1.DataSource, DataView)(currentPoint)("Volume"), Integer)
like records are
1.value1 date:1/1/2008
2.value2 date:1/2/2008
3.value3 date:1/3/2008
If mouse on 1/2/2008 then some time its return correct value and some time its return value of 1/1/2008
any help????
-
you can see in image which showing 78465700 volume in date:6/5/2008 but in attached excel file showing 76063400
-
I attached source code i want to show final presentation to my client he want to purchase this control. I am using candelistick gallery
Chart1.DataSourceSettings.Fields.Add(New FieldMap("Date", FieldUsage.XValue))
Chart1.DataSourceSettings.Fields.Add(New FieldMap("Low", FieldUsage.Value))
Chart1.DataSourceSettings.Fields.Add(New FieldMap("Open", FieldUsage.Value))
Chart1.DataSourceSettings.Fields.Add(New FieldMap("Close", FieldUsage.Value))
Chart1.DataSourceSettings.Fields.Add(New FieldMap("High", FieldUsage.Value))
Chart1.DataSourceSettings.Fields.Add(New FieldMap("Volume", FieldUsage.NotUsed))
I want to show Volume on statusbar label please help me to fix the final problem...DrawChart is function to load data
Chart1_MouseMove to show volume
-
actually i want to show volume which is hidden in chart1.datasource when mouse on a point in graph area. like
DirectCast(DirectCast(Chart1.DataSource, DataView)(currentPoint)("Volume"), Integer)
-
On Mouse Move e.value is always Zero please help
Chart1.Data.Clear()
Chart1.DataSourceSettings.Fields.Clear()
Chart1.Gallery = Gallery.Candlestick
Chart1.DataSourceSettings.Fields.Add(New FieldMap("Date", FieldUsage.XValue))
Chart1.DataSourceSettings.Fields.Add(New FieldMap("Low", FieldUsage.Value))
Chart1.DataSourceSettings.Fields.Add(New FieldMap("Open", FieldUsage.Value))
Chart1.DataSourceSettings.Fields.Add(New FieldMap("Close", FieldUsage.Value))
Chart1.DataSourceSettings.Fields.Add(New FieldMap("High", FieldUsage.Value))
Chart1.DataSourceSettings.Fields.Add(New FieldMap("Volume", FieldUsage.NotUsed))
Chart1.DataSource = dwPrivate Sub Chart1_MouseMove(ByVal sender As Object, ByVal e As ChartFX.WinForms.HitTestEventArgs) Handles Chart1.MouseMove
ToolStripStatusLabel1.Text = e.Value.ToString
End Sub
-
when i am using following code which is showing gr8 results.
Chart1.Gallery = Gallery.Candlestick Chart1.DataSourceSettings.Fields.Add(New FieldMap("Date", FieldUsage.XValue))
Chart1.DataSourceSettings.Fields.Add(New FieldMap("Low", FieldUsage.Value)) Chart1.DataSourceSettings.Fields.Add(New FieldMap("Open", FieldUsage.Value)) Chart1.DataSourceSettings.Fields.Add(New FieldMap("Close", FieldUsage.Value)) Chart1.DataSourceSettings.Fields.Add(New FieldMap("High", FieldUsage.Value)) But i want to show Volume also please suggest me to show volume i am trying with following way but no result
Chart1.Gallery = Gallery.Candlestick Chart1.DataSourceSettings.Fields.Add(New FieldMap("Date", FieldUsage.XValue))
Chart1.DataSourceSettings.Fields.Add(New FieldMap("Low", FieldUsage.Value)) Chart1.DataSourceSettings.Fields.Add(New FieldMap("Open", FieldUsage.Value)) Chart1.DataSourceSettings.Fields.Add(New FieldMap("Close", FieldUsage.Value)) Chart1.DataSourceSettings.Fields.Add(New FieldMap("High", FieldUsage.Value))
Chart1.DataSourceSettings.Fields.Add(New FieldMap("Volume", FieldUsage.Value))
-
hi
I want to show cadlistick chart for more than one stock symbol using OpenHighLowClose Gallery type please can you provide me any sample code???
-
hi
I want to use only OpenHighLowClose Gallery type for Stock Symbols is it possible to show crosshair just like on
http://finance.yahoo.com/charts?s=msft
please give me any sample related with only OpenHighLowClose??
-
hi
I am using OpenHighLowClose Gallery type And i want to show Open, High, Low, Close, Date values on status bar on mouse move. How i can do this???
When i am using following code then it showing me dates values like 1/1/1900 But perfect in Lines Graph
Private Sub Chart1_MouseMove(ByVal sender As Object, ByVal e As ChartFX.WinForms.HitTestEventArgs) Handles Chart1.MouseMove Dim Value As Decimal = Math.Round(Val(Chart1.AxisY.PixelToValue(e.Y).ToString()), 2) Dim mdate As Date = DateTime.FromOADate(CDbl(Chart1.AxisX.PixelToValue(e.X).ToString())) ToolStripStatusLabel1.Text = mdate.Date & ", " & Value End Sub
Please give me sample to show all values????
Thanx
-
thanx
-
I have gone through thoroughly, in ChartFX if we use the Financial Type of Chart then When We Move the over the Candle Sticks it Shows the High Value with Low value Label, and Low Value with High Value Label, But if make the Grid Visible It is Showing the Exact Values.
So Please Guide how we can solve this issue and ChartFX should Show the values accurately in Tooltip While We are using Financial Types Chart.
Secondly in Financial Type Chart if we Try to SHow the Date from the values into a Custom Label it Shows the Date with Wrong Values, But if we only Change the Style of Graph Else then the Financials Every thing Become OK.
We are using the Following Code to Show the Dates in our Custom Label while User Moves Mouse over the Chart.
Private Sub Chart1_MouseMove(ByVal sender As Object, ByVal e As ChartFX.WinForms.HitTestEventArgs) Handles Chart1.MouseMove Dim Value As Decimal = Math.Round(Val(Chart1.AxisY.PixelToValue(e.Y).ToString()), 2) Dim mdate As Date = DateTime.FromOADate(Chart1.AxisX.PixelToValue(e.X).ToString()) ToolStripStatusLabel1.Text = mdate.Date & ", " & Value End Sub -
i am watching following Sample is it Bug values are not showing correctly on Popup???
C:\Program Files\Chart FX 7\Help and Samples\Sample Applications\Windows Forms\VS2005\PassingData
file:///C:/Documents%20and%20Settings/Admin/Desktop/sample.jpgfile:///C:/Documents%20and%20Settings/Admin/Desktop/sample.jpg
-
thnx to reply i am trying with following code but error
Dim myStream As New MemoryStream
Chart1.Export(FileFormat.Binary, myStream)
If Not IsNothing(myStream) Then
Chart2.Import(FileFormat.Binary, myStream) '///////////////Error Line
End IfError is
Index was outside the bounds of the array
-
i have 2 charts on a winform
Chart1, Chart2
I populate data into Chart 1 then i perform some actions on chart1 like zooming,etc
Then finally i want to copy instance of chart1 with last state into Chart2 is it poissible??????
-
Thanx
-
hi i am newbie in chartfx
i am using OpenHighLowClose
I have 3 stock symbols' s Data just like MSFT, GOOG, YHOO in Datatable.
I want to show 3 series for 3 symbols in different colors So please tel me how i can add data.
And also on mouse over on each series will show Open:, High:, Low:, Close: values
-
hi
I am creating OpenHighLowClose Chart for Stock Symbols just like MSFT, GOOG, CNBC. I have 3 Datatables which have same columns like "Date, Open, High, Low, Close" and am binding tables like
Chart1.Data.Clear() Chart1.DataSourceSettings.Fields.Clear() Chart1.Gallery = Gallery.OpenHighLowClose
for i as integer=0 to 3
Chart1.DataSourceSettings.DataSource = Ldt
Next
but chart showing only 1 symbol's Data not showing for 3
Also tel me is i can show different colors for different symbols in chart.
-
Thanx to reply
Sorry i posted my question in 6.2 Forum can u please send me code of ChartFX 7
-
I want to customize tooltip with different color and style is it possible????
Private Sub Chart1_GetTip(ByVal sender As Object, ByVal e As ChartFX.WinForms.GetTipEventArgs) Handles Chart1.GetTip e.Text = "" '////my Custom tooltip End Sub
-
Is it possible with chartfx to show crosshair just like on following URL
http://finance.aol.com/quotes/microsoft-corporation/msft/nas
Over Line
in Windows Forms
Posted
Chart1.Gallery = Gallery.Candlestick Chart1.DataSourceSettings.Fields.Add(New FieldMap("Date", FieldUsage.XValue)) Chart1.DataSourceSettings.Fields.Add(New FieldMap("Low", FieldUsage.Value)) Chart1.DataSourceSettings.Fields.Add(New FieldMap("Open", FieldUsage.Value)) Chart1.DataSourceSettings.Fields.Add(New FieldMap("Close", FieldUsage.Value)) Chart1.DataSourceSettings.Fields.Add(New FieldMap("High", FieldUsage.Value)) Chart1.DataSourceSettings.Fields.Add(New FieldMap("Volume", FieldUsage.NotUsed))
I want to draw Volume Line On Chart please help....