User (Legacy) Posted October 13, 2003 Report Share Posted October 13, 2003 Attached is source code which will give idea abt how we are passing values to chart to construct bar chart. _oarrChartData = _osceChart.GetChartData(_strEmployeeID, _strEndDate, _strChartType, _strMetricID, _strChartTitle) Dim _olstProvider As New ListProvider(_oarrChartData) Chart1.DataSourceSettings.DataSource = _olstProvider Chart1.Titles.Item(0).Text = _strChartTitle Chart1.DataSourceSettings.DataType(0) = SoftwareFX.ChartFX.DataType.Label Chart1.DataSourceSettings.DataType(1) = SoftwareFX.ChartFX.DataType.Value Dim series As SoftwareFX.ChartFX.Internet.Server.SeriesAttributes = Chart1.Series(0) {0.0.,0.0,0.00.0,0.0,0.0,0.0} array(0) Y axis Values {28-Sep-2003,29-Sep-2003,30-Sep-2003,1-0ct-2003,2-0ct-2003,3-0ct-2003,4-0ct- 2003} array(1) X axis Values thanks robert ----- Original Message ----- From: "SoftwareFX Support" <support@softwarefx.com> Newsgroups: chartfx.net.webforms Sent: Thursday, October 09, 2003 6:07 PM Subject: Re: Invalid parameter used Error > Which array is which ? X-Values ? Y-Values ? How are these arrays being > passed to Chart FX ? > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted October 13, 2003 Report Share Posted October 13, 2003 Please try the following: After setting your data, do: if (chart.Mi chart.Max) chart.Max = chart.Min + 1; -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.