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

    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?
    If there is such a function or idea how to write it?

    mstdmstd, Apr 27, 2018 IP
  2. JEET

    JEET Notable Member

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