logo

NJP

Servicenow Portal (Part 15d) - Horizontal Bar High Chart - Part 4

Import · May 09, 2020 · video

Salam alaikum everyone I'm back with another video and today I'll continue with the server script I have left off with the clients cut so it's very very very easy what I have to do have to push all the detail pause series so we have to keep this in mind in our mind the first thing is I will first take a variable name as count and I will make a value they initialize it with one now another array I will take pause series which is equals to this then I will take one more series object okay you will understand everything now first I will glide aggregate this user table right actually it says user table because I want all the users whose name is not empty and it is associated with problems one user having how many problems I want those count so I will do use a lot and encoded query name is not empty user dot query while user dot next now inside I will query with the problem okay where problem equals to new glide record problem table now problem dot and query assigned to is one of the field which refers to my sis use the table you guys can go and check there use a dot sis ID okay so here to store to string is needed which I have explained in my many many many videos so you can go and check my previous videos dot query so if problem dot next okay now inside I will take the series and inside I will just push the name because there are two things that I have taken positive in series series is for your name where I can push the name with the count because when you will over it in the statistics then you will be able to see the name and the count so for that purpose I am using this series equals two baths and problem dot get row count okay now after this I will line data dot all scattegories equals two objet d'art G's CDs next day 10.4 series equals two I will add name so series is basically it will show the bar and pause series is basically when you will hover then it will show the name with its count the name will be total users present okay now legend also in legend also it will be visible agent index zero I think so legend indexes for one now last is my data dot was category dot for each function and they turned out pushing the value in data dot ball series and zero Don data dot push series at MIT that's it so over here basically I'm pushing the data in the power series over here I have defined the power series with its variables and over here I am pushing it in the series so I will show I will just leave okay I think so because this is not connected with my Internet nights gonna generally let Steve right right just watching the preview and hopefully it should work okay in line number seven glide aggregate is not it okay this is G my bad I'll just save it takes a taking time to see you I don't know why it is thank you so much of time to refresh sorry to save our they know internet access I don't know why it is happening like this you know it's connected just say okay fully now it's saved see now yeah so basically these were my series problem coordinator B and this small thing which you are able to see this one that is my PA's series where I am showing the name as well as total users present and eleven this is my legend if I just click here it will hide if you click again it will be just like this you can check it with the client script if I just make it false and if I see you I don't just I hopefully just get to see I don't know why maintain it is not working properly yes turn it I don't know why this issue is that I think hopefully it gets corrected some issue with my lights connected even just fees now it's saved if I reload see yeah it's not coming but yeah it is come because it's pause series okay so you can you guys can check automatically enable true and enable falls to it thank you everyone thanks for watching

View original source

https://www.youtube.com/watch?v=YyMiPkrIuPA