Jump to content
Software FX Community

skjhaveri

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by skjhaveri

  1. Hi JuanC, Thanks for reply... after trial and errors i am able to solve this problem... I have added dummy element in my data template for ToolTip and capturing its load event.. than i am getting the reference of ToolTip element by navigating thru parent's parents using VisualTreeHelper.. Now i had wired up with MouseLeave event of Chart Control so when ever mouse goes out of chart control i am calling IsOpen = false on ToolTip which i have go thru DataTemplate Load event... Its basically ToolTip timer... so once i move from Line than also ToolTip is staying for while... and our users are really fast... who wanted to close tooltip as when away from chart... So above solved my problem for while Thanks Shrenik
  2. Hi, I have applied ToolTipAttributes to AllSeries in Chart control of WPF. Is there any event or property thru which i can come to know that ToolTip is open or not when mouse hover over line. Reason behind is user is able to click behind the ToolTip popup which coming up... which gives bad user expereince. Please let me know if any solution avaialble for same. Thanks Shrenik
  3. Is this <cfx:Axis Culture="en-US"> bindable??? because in my scenario screen can be viewed in any region or local, and currency can come from any local or region. so it may possible that both have different origin. Yes i can make culture available as bindable property to Axis.... but is it bindable??
  4. Hi, I am binding Currency type to Y Axis which is Type of USD. while i am running my app in Venezuela culture i.e. es-VE. Now How i can setup the label of Y Axis currenlty i am setting as below XAML < cfx:Axis.Labels> <cfx:AxisLabelAttributes Format="Currency" /> </cfx:Axis.Labels> Now the problem is my currency is USD type while Graph shows BS as the Currency Symbol. instead $. Can you plz help me with this?
  5. Thanks Junac, Hope with this fix following problem solved 1. I am adding series thru code once my collection are getting populated from web service 2. I am adding Conditional Attribute also on runtime based on series which adding at run time. thanks Shrenik
  6. If i am setting independent item source for each serries attribute conditional attribute is not getting fired. but if i set on chart directly its working... Any solution for this????
  7. Thanks I have achieved this by creating my own condition. following is code for that /// <summary> /// Check Tomrrow is condition extension for validating dates which are greater than current date /// so graph should show data for those dates in Dash format. /// </summary> public sealed class CheckTomorrow : ConditionBase { /// <summary> /// Evaluates the specified cond value. /// </summary> /// <param name="condValue">The cond value.</param> /// <returns></returns> public override bool Evaluate(ConditionValue condValue) { Data data = condValue.DataItem as Data; if (null != data) { return ((Data)condValue.DataItem).Date > DateTime.Today; } return false; } } Now can you help me for more issues?? 1. How to constomise Legend in XAML. I didnt find any default style or template and not able to generate in Expression. Which type its targeting what can be datacontext of that??? 2. If i create run time series than its adding two more series its own, no idea from where its come. any clue!!! 3. Can i create style of series attribute and apply thru my code???
  8. Hi i have tried with ContentTemplate of Series Attribute but still i am not able to turn of display of line type in legend. Can anybody point me to right direction. i have seen sample where they are doing thru LegendBox.ItemAttribute Collection and setting Template. But what if i wanted to achieve that thru XAML???
  9. Hi I am using ChartFx for WPF Beta. I wanted to customise Legend of my series. I am not able locate any of the Styles or Control Template. From where i get that??? I do not wanted default Legend in which it shows line type against value. I have line chart, which formatted based on Condition. So condition Line shows with Stroke Dash Array. but it is not showing in legend. Please see attached snapshot for more understanding. Thanks Shrenik
  10. Hi, I am using ChartFx WPF 8.0 Beta release. I have collection contains two properties Date and Value So i wanted to draw line chart where i am abble to plot each value in graph. Now by default value which are passing from pastdate (date less or equal to today) should show as solid line, but any future date line should apply DashArray for line. Is it possible to achieve with single series in chart!!! Thanks Shrenik
×
×
  • Create New...