Robots.txt is blocking my labels

In my adsense account in "revenue optimization" i have crawl errors then when i click "fix crawl errors" then this..

Blocked Urls Error Robot Denied

My robots.txt:

User-agent: Mediapartners-Google

User-agent: *
Disallow: /search
Allow: /


Robots.txt is blocking my labels

Algorithm for determining colours for chart labels


labels = ['Gabriel', 'Rashad', 'Keith'] colors = ['#fcc812', '#32279e', '#374947', '#e27922', '#67aacb', '#76c1ff', '#7adae2', '#cdc9e4', '#9562d6', '#de70cd'] 


{   'Gabriel': '#fcc812',   'Rashad': '#de70cd',   'Keith': '#76c1ff' } 


I want to draw a chart on which each dataset (with a name from labels) is associated with a color (from colors).

I want to find a way to definitely map label to color.

Need to handle cases:

1) One label left from labelsRashad

labels = ['Gabriel', 'Keith']  result = {   'Gabriel': '#fcc812',   'Keith':   '#76c1ff' } 

It is important that the remaining labels should have the same colors as if the label Rashed hadn’t been deleted.

2) A new label has appeared – Andrei

labels = ['Gabriel', 'Andrei', 'Rashad', 'Keith']  result = {   'Gabriel': '#fcc812',   'Andrei':  '#67aacb',   'Rashad':  '#de70cd',   'Keith':   '#76c1ff' } 

Put labels on points on the y-axis and on points on a column parallel to the y-axis

I want to put (to the left of the point) j = 1 to the point (0,0), j = 2 to the point (0,1/149), j = 3 to the point (0,2/149) and j = N to the point (0,3/149).

Also put (to the right of the point) j = 1 to the point (1,0), j = 2 to the point (1,1/149), j = 3 to the point (1,2/149) and j = N to the point (1,3/149).

Also put the three points “…” vertically instead of horizontally.

It doesn’t matter if it’s not framed.

I tried it as follows:

data = Transpose@Table[{i - 1, (j - 1)/149}, {i, 1, 2}, {j, 4}]; c1 = ListPlot[data, PlotStyle -> Black,PlotMarkers -> {"\[FilledCircle]", 7}, AspectRatio -> 1]; c2 = ListLinePlot[{{{0, 0}, {0, 1}}, {{1, 0}, {1, 1}}}, PlotStyle -> Black, AspectRatio -> 1]; c = Show[c1, c2, Ticks -> None, Frame -> True, FrameTicks -> {{{{0, "j=1"}, {1/149, "j=2"}, {2/149,     "j=3"}, {(2/149) + (1/298), "..."}, {3/149, "j=N"}},   Automatic}, {Automatic, Automatic}}] 

Ordenar data y labels de mayor a menos de una grafica chartJs

Necesito ordernar de mayor a menos los datos de mi grafica en chartJs

Este es mi codigo con el cual consumo el api que viene de una consulta

getEps(){         self = this       this.$  http.get("epsCollaborators").then(res => {         this.eps =         for(let i = 0; i < self.eps.length; i++){           if(self.eps[i].visible ==1){             self.chartDataEps[i] = self.eps[i].total             self.chartLabelsEps[i] = self.eps[i].fund           }else {             var j = i             self.chartDataEps[j] = 0             while( i < self.eps.length){               self.chartDataEps[j] += self.eps[i].total                 self.chartLabelsEps[j]= "OTROS"               i++             }           }         } 

Esta es la consulta

SELECT  pr_employees.eps_id,, COUNT(*) AS total,        IF(count(*)>40,1,0) AS visible       FROM pr_employees       INNER JOIN pr_funds ON = pr_employees.eps_id       WHERE pr_employees.status = 1       GROUP BY pr_employees.eps_id       ORDER BY total DESC 

Este es el resultado de la consulta

introducir la descripción de la imagen aquí

Esta es mi grafica chartJs la cual desde el backend viene ordenada DESC pero en la parte de “OTROS” estoy poneindo el resultado de una suma con los que tenga menos de 40 colaboradores como lo vemos en la consulta sql

introducir la descripción de la imagen aquí

Form layout. Vertical Labels vs Horizontal Labels. Images inside

After reading and Placing labels above input fields is preferable, but if you choose to place them to the left of input fields, at least make them right aligned.

I have to design a form for a user to create customers records; I mean, a lot of fields and the user has to do this operation several times a day on his day a day.

First I use horizontal labels, centering the form on the screen enter image description here

Then I decide to use the maximum horizontal size of the screen so I went with this enter image description here

And after reading the articles I tested this enter image description here

After all, I think the 1 is the best and the 3 is the worst, what do you think? Please could you give me any advice about the layout of a form with a lot of controls and will be used by a user-worker several hours everyday.

chart.js poner labels encima de barras o dentro de ellas

introducir la descripción de la imagen aquíBuen día quiero poner los labels dentro de las barras o de preferencia encima de ellas, pongo solo una parte del código ya que este se extiende demasiado por las variables y las condicionales en estas, esta chart de barras lo trabajé en horizontal.

                 var ctx =  document.getElementById("myChart2").getContext("2d");                    var myChart2 = new Chart(ctx, {                      type: 'horizontalBar',                      data: {                         labels: [""],                        datasets: [{                          label: 'Condiciones en el ambiente de trabajo',                           backgroundColor: [                            colorm,                          ],                          data: [m]                        }                        }                    options:{                      responsive: true,                      legend:{                        display:true,                        position:'left',                        padding:{                            bottom:0,                          top:90,                        },                         labels:{                          fontColor:'#313131',                          fontSize: 18,                          position:'left',                         }                      },                      layout:{                        padding:{                          left:50,                          right:50,                          bottom:20,                          top:70,                          cornerRadiusTopLeft: 15,                          cornerRadiusTopRight: 15                        }                      },                      scales : {                               yAxes : [{                                 ticks : {                                     min : 0                                 },                          hoverBackgroundColor:'#393939'                             }]                         },                    }                    });                  </script> 

desde el options se introducen los valores para lograr lo que quiero pero desconozco como y y busque información.

Should labels in forms follow the same grammar rules as titles

At the company I work at, we follow certain rules for capitalization in titles.
But currently, we’re having a discussion whether these rules also apply to labels above input fields in forms.

First name – or – First Name
Last name – or – Last Name
Arrival date – or – Arrival Date
Departure date – or – Departure Date

Opinions are divided and I can’t find any articles or grammar rules to rule in favour of one opinion or the other.

I also can’t fall back on convention when looking at what other big players do.
Amazon doesn’t treat labels as titles and only capitalizes the first word. BestBuy does treat labels as titles and implements the grammar rules linked above.
In the quick search I did, I’ve seen more companies that don’t treat labels as titles than companies that do treat label as titles. But the difference is not that significant to finalize our discussion.

I know the grammar rules mentioned above are more like guidelines, and since it isn’t about some important report where the right grammar really matters. Any rule, guideline or strong argument in favour of one of the options is helpful.

So… does anybody know of any rule or guideline. Or have a strong argument that could push us passed this tedious discussion?

Based on what criteria do you add/not add icons to labels within a toolbar?

Some toolbars have icons for each label, and some toolbars do not have icons for any label. There is enough discussion about that.

However, some toolbars will attach icons to label selectively, and on that I cannot find any type of discussion. Here is an example from Intellij:

enter image description here

The leftmost toolbar attaches only few labels with icons, while the rightmost toolbar almost attaches all the labels with icons.

The majority of the discussion is about whether to rely only on icons, only on labels, or combine them. There is no discussion or reasearch about selective use of icons in the same toolbar.

While it could be argued that “save all”, “print” and “open” are “iconified” due to these actions being ubiquitous with easily relateable visualizations, “project structure” does not satisfy that idea. There are also many other features like “export” and “import” with easy visualizations that can be iconified.

I wonder if there is a practice that guides when to add an icon to a text label, and the extent to which one could add iconfs to labels before there is clutter (if there is such a limitation).