Jump to content
Software FX Community

gopikrish

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by gopikrish

  1. Hi, In chartfx, I am using ChartFX.Gallery.Bar type to display my table data. My table is like this, Frequency Total Pass Total Fail Total Abandons======== ======== ======= =========== Nov 1-7 33 16 5Nov 8-14 44 23 8 I am binding the DataSet resultset from this table to Chart object in asp.net webform in C# I want my X-axis to be grouped by "Total Pass", "Total Fail", "Total Abandons" instead of grouped by "Frequency". To be clear, right now in X-axis, "Total Pass", "Total Fail", "Total Abandons" are grouped by "Frequency"That is first set (for Nov 1-7) has 3 bars one for "Total Pass", "Total Fail", "Total Abandons" each.And similarly, second set (for Nov 8-14) has 3 bars one for "Total Pass", "Total Fail", "Total Abandons" each. But what I want is, first set (for "Total Pass") has 2 bars one for "Nov 1-7", "Nov 8-14" each.Second set (for "Total Fail") has 2 bars one for "Nov 1-7", "Nov 8-14" each.Third set (for "Total Abandons") has 2 bars one for "Nov 1-7", "Nov 8-14" each. So I guess by default its showing x-axis in chart grouped by frequency. Is it possible to change in chart or is it only possible to change the backend table format?Hope its clear. Thanks in advance.
  2. In chartfx, I am using ChartFX.Gallery.Bar type to display my table data. My table is like this, Frequency Total Pass Total Fail Nov 1-7 33 16 Nov 8-14 44 23 I am binding the DataSet resultset from this table to Chart object in asp.net webform in C# But I want my row and column data from table interchanged. To be clear, right now my row data in table (i.e. Nov 1-7, Nov 8-14 etc..) is displayed in Chart in X-axis And different categories like "Total Pass", "Total Fail" etc is shown in Bar in different colors. But what I want is, I want chart to display different categories like "Total Pass", "Total Fail" in X-axis in place of frequency. And different bars for different frequencies like one for Nov 1-7 etc.. How to do this. Thanks in advance.
  3. In asp.net in VS2005 for webform, I have a DataSet which has the resultset from a table. And I am assigning it to Chart object as follows, Chart1.DataSource = ds.tables[0]; Chart1.DataBind(); But instead of assigning a full table to Chart object, I need to assign a certain columns alone to it. Is that possible? Like will this work as given below... Chart1.DataSource = ds.tables[0].Columns[4]; Chart1.DataSource = ds.tables[0].Columns[5]; ...... Thanks in advance.
×
×
  • Create New...