Capabilities re: Changing Markers/colour palette

Posted by: glinkot-fp on 3 August 2017, 3:58 pm EST

  • Posted 3 August 2017, 3:58 pm EST

    Hi,

    I was just looking through the 'theming' of AA which looks really good.  Could I ask if any of the below are possible, and if not request them to be considered for an upcoming release?

    a) Alter the colours in the scatterchart palette, to suit the application's colours.  The current ones are quite bright and stand out if your app is meant to be 'serious and understated'... :)

    b) Custom marker graphics, linked to a dimension/attribute?  Eg if there were 3 categories (good, bad and terrible) you could have appropriate symbols for each.

    c) Transparency of markers - whether custom markers or not, if you're doing a scatter chart with many overlapping points, it's good to be able to make them partly transparent.  Then areas with lots of points get 'darker' heatmap style.  By allowing the markers to be .png files with transparency, both these things could potentially be achieved at once.

    d) Size of marker, linked to Measure? 

    Many thanks.

    Mark
  • Replied 3 August 2017, 3:58 pm EST

    Mark,

    I would like to correct the reply provided in my previous post. Regarding the questions (a) and (c), I will provide you an answer in some time. However the requirements which you had in points (b) and (d) are indeed possible currently with ActiveAnalysis. I missed on this in my last post hence would like you to take a look at the attached sample.

    You will notice that under "Encodings" card we already provide a shape and a size shelf, which could be used to get the desired functionality. You can drop the attributes and measures to these shelf and the Analysis engine will give you different shapes and sizes for the values. Once you click the button in the sample, you will be able to see the expected output. You may also want to take a look at this and this link.

    Regards,
    Sankalp

    2011/03/Marker_SizeAndShape.zip
  • Replied 3 August 2017, 3:58 pm EST

    Mark,

    I will try to address your questions in the same order as they were presented:

    a) It looks like to wish to change the color palette for the markers when the Marking style is set to circle (scatter chart). If this is what you want, then you can do this simple by setting the color in the color legend. This legend appears once you drag a measure onto the Encodings card and drop it onto the Color encoding. Please take a look at this link for more information. In addition to this, I have attached a screenshot for the same.

    b) I am not very clear with your second requirement. Do you want us to allow using of multiple marker types at the same time? If this is the said scenario then unfortunately this is not possible at the moment.

    c) Regarding the transparency setting, you may want to change the color palette as mentioned in point (a) and see if you are able to get better results.

    d) Do you want to change the size of the marker according to the measure's value? Unfortunately this is not possible currently; however could you kindly let me know why do you wish to see a change in the marker shape when it already provides you options to distinguish one marker from others.

    Regards,
    Sankalp

  • Replied 3 August 2017, 3:58 pm EST

    Hi Sankalp,

    Thanks for your response.

    Regarding a), this looks ideal.  How do I set this up via code or config for my application?  The only instruction I could see was the one you attached where the end user would change it.

    b) that was the intention.  see for example screenshot 1 (marker types), where items of different categories get their own marker.

    Marker types

    c) Colour and transparency are different things.  Transparency is a powerful way of showing density where the marks overlap.  For example, see the two screenshots I attach with a scatterplot of many items.  Toward the bottom left, all detail is lost when the marks all overlap each other into one bunch.  By making the points partly transparent, in the second screenshot you can see where the majority of points really are.

    Without transparency
    With transparency

    d) Yes, that was the thought.  Again referring to the first screenshot, you will see the marker is big when urgency is high, or small when it's low.  This is your standard 'bubble chart' idea where the x, y axes are indicating two dimensions (eg duration and time to complete) while 'size' represents a third (total cost or priority for example)

    All this stuff is kind of derived from a guy whose name I've forgotten, who created these theories on communicating info visually.  He listed off the cues that can be used - shape, size, colour etc as the eyes recognise these more readily than different text, for example.  It's pretty cool stuff actually.


  • Replied 3 August 2017, 3:58 pm EST

    Many thanks for the info Sankalp.  I will check the example out.

    The pages are very helpful and look like exactly what I was after.  I do notice quite often though that the instructions are for changing it as an end user, rather than via properties and code, and I can't find the equivalet instructions for setting it up as a developer. 

    Perhaps these pages could have a link to how to do them programmatically?  Or if you know of the links for those two, I'd appreciate them.

    Thanks!

    Mark
  • Replied 3 August 2017, 3:58 pm EST

    Mark,

    Setting the marker shape and size was automatically done in the code behind in the sample I attached with my last post. However they are selected automatically once the fields are added to the shelves.

    Regarding the setting of the transparency level for the markers, I have opened a new feature request Case 152076 for the development team. I have also added your E-mail address as an affected user to the case. You will be notified once this case gets resolved.

    Regards,
    Sankalp
  • Replied 3 August 2017, 3:58 pm EST

    Many thanks for that Sankalp, I will try the sample.

    Thanks also for logging the feature request.

    Regards

    Mark
  • Replied 3 August 2017, 3:58 pm EST

    Mark,

    There is one workaround provided by the development team, which can be used to set the transparency level for the markers. If you have white grid (not specially changed in
    theme), then you can use discrete color legend to change colors. In this case you should specify default discrete colors palette with only 1 color.

    In Win theme, it can be done like this:


        ...
        
            #0066ff
        

        ...


    Other platforms (Web, Silverlight) provides similar property in themes.
    In this case data points will looks like "transparent". However this implementation was made available in one of the interim builds. Our next release is expected to be made at the end of this month. So you download the build once its released and try using the workaround provided here.

    Regards,
    Sankalp
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels