Announcement

Collapse
No announcement yet.

Free Radar Chart Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [PLUGIN] Free Radar Chart Widget

    Hi.

    Because I needed this type of chart for my own project, and couldn't find already existing ones, I decided to just write it by myself in C++.
    And because I saw some other guys asking for how to make that stuff I thought I might share it, maybe it helps someone.

    Plugin v 1.02 (for 4.22) : https://drive.google.com/open?id=1IQ...mb9iKTQ3lLf0Kc



    test game built: https://drive.google.com/open?id=1ea...mhCKpeRl63fxpN

    example project - plugin needed : https://drive.google.com/open?id=1dw...ujqK5yK2GCR6Xk


    This plugin adds an customizeable Radar Chart Widget to Unreal.
    Thought to be used inside UMG Designer or at least with the UWidget class with code, but if the use with the underlying slate class is desired, please let me know and I'll change it it.

    Features:
    • Multiple Value layers with different styling (e.g. previous values and current or balance of different characters stats, ......).
    • Color Coding for each segment.
    • Animated (panning) textures, displayed either in normal UV layout or concentrical (all segments point towards the center and use a UGradient style layout).
    • Texts and Icons as labels
    • Show/Hide/Style anything
    • Supports three different material blendmodes (opaque, transparent, additive) for the background and the value layers.
    • Works with Unreal's render transforms.
    • Keep ratio or stretch to fill

    Technical Information

    Written 100% in C++ and using Slate, but exposed to Blueprints.

    It should be compatible with all platforms, but the plugin is only precompiled for Win, Android and HTML. I do not own an Apple device, so I'm not able to precompile it for these devices.
    But because the source code is included you can do it by yourself if you need it.

    If you use it in an Blueprint-only project and want to use the project launcher you must package your project (file->package project) for the desired platform with development/shipping, or the project launcher throws an Missing Receipt error back. Code and mixed projects should be fine, because they compile with the project launcher.
    Last edited by pDunkl; 06-28-2019, 08:11 AM.


    [PLUGIN] Free Radar Chart Widget

    #2
    Updated: v1.01

    Now the value layers can also have an colored outline. Recommended to use the outline because it hides the aliasing of the polygonal shape.

    Attached Files


    [PLUGIN] Free Radar Chart Widget

    Comment


      #3
      Updated: v1.02

      Added convenience function setting the values per layer without the need to set the whole valuelayers struct array. Should've implemented it from v1.0, duh..
      If you set multiple values at once, only set invalidate true in the last one, therefore the widget doesn't redraw multiple times.
      Attached Files


      [PLUGIN] Free Radar Chart Widget

      Comment


        #4
        Thanks´╝îIt's perfect!

        Comment


          #5
          This is very useful. Thank you very much

          Comment


            #6
            ok stupid question XD you drag and drop it to a project directory and its good to go ? no need to enable it somewhere?

            Comment


              #7
              OD89

              You have to put it into the projects' s plugin folder. "MyProject/Plugins". If this folder doesn't already exist, create it.
              And then activate it inside the engine plugins window, restart the engine, now it's available inside the umg editor window.


              [PLUGIN] Free Radar Chart Widget

              Comment


                #8
                Thanks of the plugin. It looks like it is exactly what I need but I am having a problem, which might be related to my using 4.23? I have added 24 segments and whenever I try to edit the text in a segment the editor crashes. I have tried the plugin in my project and the sample project with the same result.

                Comment


                  #9
                  ChrisDodds thanks for the report. I've tried to replicate the problem, but I can edit and change the texts without a problem (24 segments with ue version 4.23)
                  Do you get an error message when the Editor crashes, if so which one?
                  Can you replicate it in a blank project?


                  Btw because I frequently rewrite the code to fullfill the needs of my project, the current version differs quite a bit from the posted one, especially the label stuff.
                  After I've finished the relevant parts in that project I want to clean that code up and put it on github, that way reporting bugs/versioning will become easier.


                  [PLUGIN] Free Radar Chart Widget

                  Comment


                    #10
                    Hi. Thank you for checking. I did some more testing and it looks like an Unreal issue or something with my project. I tested a struct with 24 items and I am able to crash editing the values in the details panel. I will set it up in a blank project and then copy it into my main project. Thank again, and I look forward to your update.

                    Comment

                    Working...
                    X