Search:
Type: Posts; User: phuz
Search:
Search took 0.07 seconds.
-
I like solving my own problems, so maybe this will help someone else in the future.
If you create the annotations in the GUI (no need to modify them), you can cast them as the appropriate annotation...
-
I have some charts where I want to display some annotations and I noticed that I can't set the CalloutAnnotation.Text property in the code. Why?!?
So I created the annotation in the code, which...
-
For some reason, when I set my start time for these charts at the beginning of the data, I get this white space. To make sure I wasn't crazy, I changed my start time (starttime =...
-
Before I just end up doing this programatically based on math, I wanted to check with the forum. I am generating charts based on cycles of different lengths of time. I know how the interval option...
-
This does not work:
mainchart.DataSource = SQL.SQLDataSet
This works:
mainChart.Series(0).Points.DataBindXY(SQL.SQLDataset.Tables(0).DefaultView, "TimeLocal",...
-
OK, pretty easy to get the second table populated within the dataset. Just ran two queries and that worked. But when I bind the dataset, only the first series shows up, despite there being two...
-
I think I have the background work understood now. I'm running into issues trying to take the results of two unique queries and put them into one data binding, but having trouble adding the second...
-
Funny you say that. About 43000 points if a person were to look at several days of data on one chart. Usually less.
I know I was doing it wrong, but I was doing it for explanation.
I'll play...
-
So, let's say I am able to query all the data I need in the worker thread, but now comes the issue of adding that data to the chart. Unfortunately, you can only bind one data source, which means if...
-
-
-
I stumbled on this a few days ago and it seems I lost it. I know there is a method or property to get the minimum and maximum values of a particular axis. I have two data sets and I want to find...
-
OK, I found a workaround/solution, but I don't know that I understand why I have to do this when it works fine without it in the UI thread.
...
-
I was hoping you would respond.
So I moved everything into the worker, and refreshed the UI at the completion. However, the scaling is still misbehaving. It only scales properly when in the UI...
-
I am trying to utilize a backgroundworker to prevent the UI from freezing while querying large amounts of data, but I am running into some problems.
I tried running the SQL query in the .DoWork...
-
-
Wow, yeah you're right. I copied this base code from an example and neglected to catch that I am building a new chart each time. I'll revise this a bit and make another attempt at it.
Thanks for...
-
Sorry, I thought I posted that in the first post, but I had already tried that.
Latest code:
Dim ChartArea1 As ChartArea = New ChartArea()
Dim Series1 As Series = New Series()...
-
Yup, that was dumb. Moved it to a public i as integer and the data moves now.
So if I do Chart2.ResetAutoValues, the x/y ranges change when I update the chart. This is not true for the Chart1,...
-
Either works fine and has no bearing on the subroutine.
For the heck of it, I added a chart control to the form (Chart 2) and put some more code under the same button click as a test.
...
-
Thanks, but that did not work.
-
I'm struggling here trying to get a simple chart to update with new data when a button is clicked. StartDate and EndDate come from datetimepickers. If I change the dates in runtime, it grabs the...
-
-
I am using a wunderground.com feed to grab weather to display in my app. The data source is valid, and I have the timer ticking every 300 seconds as to not overload the connection, but it's causing...
-
Changed to:
Private Declare Function SetThreadExecutionState Lib "kernel32" (ByVal esFlags As Integer) As Integer and now it works without throwing the exception. Hopefully I didn't break the...
-
I have a tablet that runs a virtual dash for my drag car. While the software is running, I want to prevent any sleep mode, so I added this code to the top of my vb and I call the function...
-
Hahaha. I...am...an...idiot. :)
I had the form successfully called; however, I incorrectly placed the Me.Close on the new form and it ended up on the MyBase.Load so it was closing as soon as it was...
-
Because I have tested it on a similar form with tabcontrol removed.
-
1. My windows form does not have a property for AlwaysOnTop
2. No
3. I'm not sure the best way to list all these for you.
-
I have some specific events that need to show a supplemental form. On my main form, I have a TabControl which encompasses the entire form space. During the event, I do a simple Form2.Show() but it...
-
MyOPCItems(1) = OPCGroup1.OPCItems.AddItem("[MixerRecipe]N7:0", 1)
-
I recently worked on an Excel VBA project and now I want to take it to the next level. I am running VS2010 and trying to write an application to connect to an RSLinx OPC data source. The code...
-
Yup...I know how it all works.
Thanks.
-
-
Sure did!! It's OK. My method is working rather well. I do have a question regarding OPC connection, though. When I create the initial connection, I am polling 300+ integers. I can watch my OPC...
-
I have a routine which updates cell values from an OPC data source. When it gets to the line where it updates the cell, it jumps out of that routine and over to the Worksheet_Change routine, and it...
-
No, it still broke out of the other routine as soon as a value changed.
-
Thanks. I ended up going a different route. I have a subroutine that runs every 2 seconds and it updates all the values that I am polling and I just added some code in that routine which looks at...
-
I switched to the Worksheet_Change(ByVal Target As Range) event and it sort of works, but not the way I want.
It seems to be breaking out of the current function every time a value changes.
...
-
The VBA code is on Sheet1, which is where the values are changing.
|
Click Here to Expand Forum to Full Width
|