User (Legacy) Posted September 20, 2006 Report Share Posted September 20, 2006 i have chart by group/date and shows count by group and date as a multi-series. in a click event how i can get label for date? i get group name by Chart1.AxisX.Labels[e.Point].ToString() but how to get date? thanks Link to comment Share on other sites More sharing options...
Software FX Posted September 20, 2006 Report Share Posted September 20, 2006 Can you please attach a screenshot of your chart, I don't understand what you have in the X and Y axes. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted September 20, 2006 Author Report Share Posted September 20, 2006 X axis shows Groups and count is by Group and Date "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:zkMnFUO3GHA.1852@webserver3.softwarefx.com... > Can you please attach a screenshot of your chart, I don´t understand what > you have in the X and Y axes. > -- > Francisco Padron > www.chartfx.com > > Link to comment Share on other sites More sharing options...
Software FX Posted September 21, 2006 Report Share Posted September 21, 2006 I see no dates in this chart. You are setting these dates to which Chart FX property ? -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted September 21, 2006 Author Report Share Posted September 21, 2006 DataTableProvider dt = new DataTableProvider(dslocal.Tables[0]); CrosstabDataProvider cfxCT = new CrosstabDataProvider(); cfxCT.DataSource = dt; Chart1.DataSourceSettings.Fields.Add(new FieldMap("Month_Year", FieldUsage.ColumnHeading)); Chart1.DataSourceSettings.Fields.Add(new FieldMap("Assigned_Group", FieldUsage.RowHeading)); Chart1.DataSourceSettings.Fields.Add(new FieldMap("Count", FieldUsage.Value)); Chart1.DataSource = cfxCT; Plesae find code above , thats way i set up the chart "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:FAmGyRY3GHA.3152@webserver3.softwarefx.com... > I see no dates in this chart. You are setting these dates to which Chart FX > property ? > > -- > Francisco Padron > www.chartfx.com > > Link to comment Share on other sites More sharing options...
Software FX Posted September 22, 2006 Report Share Posted September 22, 2006 If by Date you mean the value of the Month_Year filed, this will end up in the series legend: string groupText = Chart1.Series[e.Series].Text -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.