extnet / Ext.NET

35 stars 41 forks source link

absent: ext-*axis' Renderer inner property #1806

Open fabriciomurta opened 4 years ago

fabriciomurta commented 4 years ago

Found: Ext.NET 7.0.0-preview4_2020-07-21.

While this looks similar to #1738, it is not clear how the renderer should be used when an inline handler is preferred instead of a reference to a JavaScript function (Fn="x"), as used in the below two examples:

<ext-numericaxis
    fields="IE"
    position="Left"
    grid="true"
    minimum="0">
    <renderer handler="return label.toFixed(label < 10 ? 1: 0) + '%';" />
</ext-numericaxis>
<ext-categoryaxis position="Bottom" fields="Date" grid="true">
    <label rotationdegrees="-90" />
    <renderer handler="return Ext.Date.format(label, 'M');" />
</ext-categoryaxis>

What should valid Ext.NET 7 syntax for that?

WebForms examples matching ext:(Numeric|Category)Axis and Renderer

  1. Chart > Area > Basic
  2. Chart > Area > Stacked
  3. Chart > Area > Stacked_100
  4. Chart > Bar > 3D
  5. Chart > Bar > Basic
  6. Chart > Bar > Grouped
  7. Chart > Bar > Renderer
  8. Chart > Bar > Stacked
  9. Chart > Bar > Stacked_100
  10. Chart > Column > Basic
  11. Chart > Column > Gradients
  12. Chart > Column > Limit
  13. Chart > Column > Renderer
  14. Chart > Column > Stacked
  15. Chart > Column > Stacked_100
  16. Chart > Combination > Binding_Tabs
  17. Chart > Combination > Custom_Theme
  18. Chart > Combination > Dashboard
  19. Chart > Combination > Infographic
  20. Chart > Combination > Pareto
  21. Chart > Gauge > Basic_2
  22. Chart > Line > Basic
  23. Chart > Line > CrossZoom
  24. Chart > Line > Marked_Spline
  25. Chart > Line > Markers
  26. Chart > Line > Mixed
  27. Chart > Line > Multiple_Axes
  28. Chart > Line > Renderer
  29. Chart > Line > Spline
  30. Chart > Misc > Captions
  31. Chart > Misc > Merge_Two_Charts
  32. Chart > Misc > Reload
  33. Chart > Misc > Theme
  34. Chart > Misc > ToolTips
  35. Chart > Misc > VerticalMarker
  36. Chart > Radar > Basic
  37. Chart > Radar > Fill
  38. Chart > Radar > Marked
  39. Chart > Radar > MultiAxis
  40. Chart > Scatter > Basic
  41. Chart > Scatter > Bubble
  42. Combination_Samples > Applications > Word_Wrench
  43. Desktop > Introduction > Overview

MVC examples matching (Numeric|Category)Axis and Renderer

  1. Chart > Area > Basic
  2. Chart > Area > Stacked
  3. Chart > Area > Stacked_100
  4. Chart > Bar > Basic
  5. Chart > Bar > Basic_3D
  6. Chart > Bar > Grouped
  7. Chart > Bar > Renderer
  8. Chart > Bar > Stacked
  9. Chart > Bar > Stacked_100
  10. Chart > Column > Basic
  11. Chart > Column > Gradients
  12. Chart > Column > Limit
  13. Chart > Column > Renderer
  14. Chart > Column > Stacked
  15. Chart > Column > Stacked_100
  16. Chart > Combination > Binding_Tabs
  17. Chart > Combination > Custom_Theme
  18. Chart > Combination > Dashboard
  19. Chart > Misc > Captions
  20. Chart > Radar > Basic
  21. Chart > Scatter > Basic
  22. Desktop > Overview
AndreyChechel commented 4 years ago

Probably this comment provides an answer: https://github.com/extnet/Ext.NET/issues/1809#issuecomment-662097657

fabriciomurta commented 4 years ago

Yes, the same applies. I just pointed both issues to #1738 instead of pointing them to each other. But now the triad is closed :)