Hi,
curretly im using the Gantt chart in my application.
im not able to show AM/PM in the tooltip and X axis labels.
this.UltraChart1.Tooltips.Format = Infragistics.UltraChart.Shared.Styles.TooltipStyle.Custom; this.UltraChart1.Tooltips.FormatString = "<START_TIME:MM/dd/yyyy hh:mm> - <END_TIME:MM/dd/yyyy hh:mm >";
Can anyone help me in acheiving this?
the label formatter uses DateTime.ToString(string yourFormat) to print the labels, so it should use whatever culture the application is running under.
if you want to apply a specific cultureinfo to your labels, you need to implement IRenderLabel and output the strings in code.
I also require displaying labels that are formatted using CultureInfo.
I have the need to display DateTime using CultureInfo...
How do I do this?
Can I reuse this across multiple charts?
Help! (getting close to alpha release...)
My ToolTip format will change based on the culture. in this code, it will always have a same format.
so im trying to use the iRender Label to get the date time format according to the culture.
Can you try following:
this.UltraChart1.Tooltips.Format = Infragistics.UltraChart.Shared.Styles.TooltipStyle.Custom;
this.UltraChart1.Tooltips.FormatString = "<START_TIME:MM/dd/yyyy hh:mm tt> - <END_TIME:MM/dd/yyyy hh:mm tt>";