Jump to content
Software FX Community

va_acharya

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by va_acharya

  1. I have attached a datatable to the chart control. Datatable always contains one column "DateAxis" which is mapped as AxisX in chartControl. Then i add other series columns to the datatable. To display the correct XAxis value i add following two rows to the datatable. DataRow rw = dtGraph.NewRow();rw["DateXAxis"] = 01/01/2010; //for Min valuedtGraph.Rows.Add(rw); rw = dtGraph.NewRow();rw["DateXAxis"] = 31/01/2010; //for Max valuedtGraph.Rows.Add(rw); But if series values are available only for 15/01/2010 to 20/01/2010 then AxisX displays range for 15th to 20th. I need to display the AxisX range for 01 to 31 always. Do i need to plot some hidden point or any other suggestion to fix this issue.
  2. I have trapped ctrlChart_GetTip event to display custom tooltip on graph points. I can get the Y cordinate value using ctrlChart.Data[e.Series, e.Point] function. Is there any way to get the X value for the given series and point.
×
×
  • Create New...