Skip to Content
avatar image
Former Member

legends in design studio 1.6(business notations)

HI ,

Can we make legends in below format

user wants to see YTD in black line and PY in dotted line so in legend we need to mention the line its comman requirement for every business but unfortunately i dont see any option to achieve this

is there any workaround in design studio ?

any help is highly appreciated

3463t.png (13.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 03, 2016 at 04:32 AM

    Hi Varun,

    To change marker shape you need to define coordinates of line and angle to move in path CSS.

    like for example, for circular shape

    path.v-legend-marker

    {

    d: path('M -6 0 A 6 6 0 1 0 6 0 A 6 6 0 1 0 -6 0 Z');

    }

    But the easiest way is you can use custom markers with image and text component. That you can use marker image based on your need.

    Let me know if you need any help in this.

    Thanks,

    Poovarasan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I have a requirement to have a chart legend display country flags. Is there a way I can achieve this in DS 1.6? Thanks

  • avatar image
    Former Member
    Dec 03, 2016 at 08:20 PM

    HI ,

    Thanks for your reply

    Right now i don't have system in handy will try it out your CSS . Meanwhile i have some Questions please check below

    1.

    easiest way is you can use custom markers with image and text component.--> you mean need to keep image and text box on top of chart. but how to make responsive irrespective of screen and it should always middle of chart.could you please give me some hint here.Thanks

    2.

    Use marker image based on your need.-> Here to be honest i am not aware of marker image/Custom marker image could you please guide me

    Thanks,

    Varun

    ,

    HI Boopalan,

    Thanks for your reply.

    Right now i dont have system will try it out your CSS .and let you know.but i have a few questions here we go

    1.

    easiest way is you can use custom markers with image and text component.--> you mean Keep these image and text on top of chart right but how can we make it responsive irrespective of screen and should be exactly middle of chart any hint here please?

    2. I am not sure about marker image .could you please let me know about marker image?

    Thanks,

    Varun

    Add comment
    10|10000 characters needed characters exceeded