1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Need function to get array of different colors

Discussion in 'PHP' started by mstdmstd, Apr 27, 2018.

  1. #1
    Hello!

    In Laravel 5.6 / PHP 7.1 / vuejs 2.5 applicatio I do reports based on vue-chartjs reports ( http://demo.vue-chartjs.org/ )
    I want to select different number data types(multiselection input) and I need to set different color for any data type.
    I need some kind of function to get array(length in selected data types) of different colors but not white color(or similar)
    as reports would be on white background?
    SEMrush
    If there is such a function or idea how to write it?

    Thanks!
     
    mstdmstd, Apr 27, 2018 IP
    SEMrush
  2. JEET

    JEET Notable Member

    Messages:
    2,625
    Likes Received:
    188
    Best Answers:
    4
    Trophy Points:
    215
    #2
    Did not even understand what you are trying to do... Could you please explain in little more detail? Thanks
     
    JEET, Apr 30, 2018 IP