User (Legacy) Posted February 28, 2003 Report Share Posted February 28, 2003 I have a chart that I am updating the values for in code. My problem is that the values are less than zero, but instead of displaying bars that traverse down the Y axis, then travers up with the lowest value having no height and the ones closest to zero having large bars. I looked in teh documentation and I dont see how or why it's displaying this way. Here is the code that updates the chart: 'now populate the graph With Me.ForceChart .ClearData(ClearDataFlag.Values) .OpenData(COD.Values, 3, 1) .Value(0, 0) = Vehicle1.G_Force .Value(1, 0) = Vehicle2.G_Force .Value(2, 0) = -60 .CloseData(COD.Values) End With any help is much appreciated becuase other than this issue I am very pleased with the .Net Lite version of this product Reagards, John R. Chaffier Link to comment Share on other sites More sharing options...
User (Legacy) Posted February 28, 2003 Author Report Share Posted February 28, 2003 I have a chart that I am updating the values for in code. My problem is that the values are less than zero, but instead of displaying bars that traverse down the Y axis, then travers up with the lowest value having no height and the ones closest to zero having large bars. I looked in teh documentation and I dont see how or why it's displaying this way. Here is the code that updates the chart: 'now populate the graph With Me.ForceChart .ClearData(ClearDataFlag.Values) .OpenData(COD.Values, 3, 1) .Value(0, 0) = Vehicle1.G_Force .Value(1, 0) = Vehicle2.G_Force .Value(2, 0) = -60 .CloseData(COD.Values) End With any help is much appreciated becuase other than this issue I am very pleased with the .Net Lite version of this product Reagards, John R. Chaffier Link to comment Share on other sites More sharing options...
User (Legacy) Posted March 1, 2003 Author Report Share Posted March 1, 2003 I found my own solution. Apparently something in the .ClearData event reformats the way negative values are displayed. Once I removed that method the chart displyed as I would expect it too. "John R. Chaffier" <jchaffier@hotmail.com> wrote in message news:ey$x2K33CHA.3068@webserver1.softwarefx.com... > I have a chart that I am updating the values for in code. My problem is that > the values are less than zero, but instead of displaying bars that traverse > down the Y axis, then travers up with the lowest value having no height and > the ones closest to zero having large bars. I looked in teh documentation > and I dont see how or why it's displaying this way. Here is the code that > updates the chart: > > 'now populate the graph > With Me.ForceChart > .ClearData(ClearDataFlag.Values) > .OpenData(COD.Values, 3, 1) > .Value(0, 0) = Vehicle1.G_Force > .Value(1, 0) = Vehicle2.G_Force > .Value(2, 0) = -60 > .CloseData(COD.Values) > End With > > any help is much appreciated becuase other than this issue I am very pleased > with the .Net Lite version of this product > > Reagards, > John R. Chaffier > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted March 1, 2003 Author Report Share Posted March 1, 2003 I found my own solution. Apparently something in the .ClearData event reformats the way negative values are displayed. Once I removed that method the chart displyed as I would expect it too. "John R. Chaffier" <jchaffier@hotmail.com> wrote in message news:ey$x2K33CHA.3068@webserver1.softwarefx.com... > I have a chart that I am updating the values for in code. My problem is that > the values are less than zero, but instead of displaying bars that traverse > down the Y axis, then travers up with the lowest value having no height and > the ones closest to zero having large bars. I looked in teh documentation > and I dont see how or why it's displaying this way. Here is the code that > updates the chart: > > 'now populate the graph > With Me.ForceChart > .ClearData(ClearDataFlag.Values) > .OpenData(COD.Values, 3, 1) > .Value(0, 0) = Vehicle1.G_Force > .Value(1, 0) = Vehicle2.G_Force > .Value(2, 0) = -60 > .CloseData(COD.Values) > End With > > any help is much appreciated becuase other than this issue I am very pleased > with the .Net Lite version of this product > > Reagards, > John R. Chaffier > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.