tymeware
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by tymeware
-
-
Setting up the X-axis can be problematic.
Be careful to set the min and max of the Xaxis, then feed an actual date to each point that you plot. On larger date spans it is sometimes better to use the auto setting, but still feed each point an actual date from your data.
-
I believe the y axis setting of AUTO on either min or max overrides any actual numbers used. We always determine the actual min and max of the data when creating the chart and set the min/max manually.
-
Been there. Done that. You have to go into IE and enter your site as a trusted site.
-
cleaned up the formatting of this post below
we are long term users of chartfx and have gone through many versions
we followed the sample code used to resize image charts via some onload/onresize javascript that does a callback
after the callback code, the chartfx javascript blows up on this line
// Update viewstate
var viewStateObj = MM_findObj('__' + context + '_VIEWSTATE');
viewStateObj.value = viewState;
error :Microsoft JScript runtime error: Unable to set value of the property 'value':
object is null or undefined
latest version of chartfx7
webformsanyone?
Francis?
To clarify, this only happens when doing a callback for an image.
The callback on a .net chart is fine.
I would be surprised if this did not happen to anyone else or that support at softwarefx is unaware of the issue.
-
we are long term users of chartfx and have gone through many versions
we followed the sample code used to resize image charts via some onload/onresize javascript that does a callback
after the callback code, the chartfx javascript blows up on this line
// Upate viewstate
var viewStateObj = MM_findObj('__' + context + '_VIEWSTATE');
viewStateObj.value = viewState;
error :
Microsoft JScript runtime error: Unable to set value of the property 'value': object is null or undefined
latest version of chartfx7 webforms
anyone? Francis?
multiple x-axis scrolling issue
in Windows Forms
Posted
Hi, we have been using variants of chartfx for 10 years and are now migrating to chartfx 7 on our .net client app. Here's the issue.
- All series are loaded prior to setting up the axis's with true data.y and data.x values.
- True multiple x-axis's (not just different labels as in many of your samples and questions). Could be today vs yesterday or today vs last year. For each unique x-axis a new x axis is created.
'setup and assign to new x axis for each year run
laxisX = New ChartFX.WinForms.AxisX
laxisX.AutoScroll = True
'laxisX.Visible = False ' NEEDS TO BE VISIBLE TO LINE UP STEPS???????!!!!!!
laxisX.Min = mdXSeriesMinDate(liSeries).ToOADate
laxisX.Max = mdXSeriesMaxDate(liSeries).ToOADate
laxisX.Position = ChartFX.WinForms.AxisPosition.Near
.AxesX.Add(laxisX)
- We manipulate the labels through the GetAxisLabels event on the chart. No problems there.
- The chart is fine, until you want to add scrollbars, then you're in trouble.
- On previous versions (6.2, etc) we set PixelsPerUnit to induce scrolling behavior, set the new x axis to be NOT visible and it worked fine.
- On chartfx 7, when you set the new x axis to NOT be visible, and use SetScrollView to include scrolling ; the multiple x axis's will no longer line up, even though the STEP setting is the same! In addition, the data for the visible x-axis will scroll and the secondary x axis's points will not scroll.
- Then, if you make the secondary x-axis's VISIBLE you get another scroll bar and the STEPS line up. Yes, we can syncronize the scrolling behaviour, but there is no way to get rid of the secondary scroll bar.
Any advice you have would be appreciated.