User (Legacy) Posted July 29, 2005 Report Share Posted July 29, 2005 Hi, i have recently upgraded to 6.2 but i believe there is a bug. My chart displays a cubic spline interpolated curve where the user can set anchor points by double clicking on the markers. Anchors are displayed as triangles while floating points are displayed as circles. the following code toggles the points between circle and triangle. private void SkewChart_DoubleClick(object sender, SoftwareFX.ChartFX.MouseEventArgsX e) { if ( e.HitType == HitType.Point ) { int point = e.Point; int series = e.Series; if (SkewChart.Point[series, point].MarkerShape == MarkerShape.Circle) SkewChart.Point[series, point].MarkerShape = MarkerShape.Triangle; else if (SkewChart.Point[series, point].MarkerShape == MarkerShape.Triangle) SkewChart.Point[series, point].MarkerShape = MarkerShape.Circle; } } this code works for every node except the farthest right node. if i double click the farthest right node whilst it is a circle it correctly enters the if statement but the node does not change to a triangle. when i double click the same node again the code correctly enters the else if statement (as if there is a triangle at that node) even though the chart displays a circle at that node. if i double click the second node from the right, both that and the farthest right node toggle from circle to triangle. any ideas? thanks Matt Link to comment Share on other sites More sharing options...
Software FX Posted July 30, 2005 Report Share Posted July 30, 2005 This bug has been fixed in an internal version but a SP has not yet being released, please contact Software FX support for access to a HotFix that includes this fix. -- Francisco Padron www.chartfx.com "Matthew Woods" <mwoods@bearwagner.com> wrote in message news:XK4JMcElFHA.2036@webserver3.softwarefx.com... > Hi, i have recently upgraded to 6.2 but i believe there is a bug. My chart > displays a cubic spline interpolated curve where the user can set anchor > points by double clicking on the markers. Anchors are displayed as > triangles > while floating points are displayed as circles. > > the following code toggles the points between circle and triangle. > > private void SkewChart_DoubleClick(object sender, > SoftwareFX.ChartFX.MouseEventArgsX e) > { > if ( e.HitType == HitType.Point ) > { > int point = e.Point; > int series = e.Series; > if (SkewChart.Point[series, point].MarkerShape == MarkerShape.Circle) > SkewChart.Point[series, point].MarkerShape = MarkerShape.Triangle; > else if (SkewChart.Point[series, point].MarkerShape == > MarkerShape.Triangle) > SkewChart.Point[series, point].MarkerShape = MarkerShape.Circle; > } > } > > this code works for every node except the farthest right node. if i double > click the farthest right node whilst it is a circle it correctly enters > the > if statement but the node does not change to a triangle. when i double > click > the same node again the code correctly enters the else if statement (as if > there is a triangle at that node) even though the chart displays a circle > at > that node. if i double click the second node from the right, both that and > the farthest right node toggle from circle to triangle. > > any ideas? > > thanks > Matt > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.