projects
asked on
Help with NVD3 graphs - adding 'markers'
http://cmaurer.github.io/angularjs-nvd3-directives/multi.bar.chart.html
http://cmaurer.github.io/angularjs-nvd3-directives/line.chart.html
We are using the above two graphs. In each of them, we have three series of data.
We need to add one more which is what we are calling a marker.
A marker, is where we want to show a vertical line inserted into a place with the rest of the data.
I am not really sure how else to describe this so if you have questions, please ask and I will respond.
http://cmaurer.github.io/angularjs-nvd3-directives/line.chart.html
We are using the above two graphs. In each of them, we have three series of data.
We need to add one more which is what we are calling a marker.
A marker, is where we want to show a vertical line inserted into a place with the rest of the data.
I am not really sure how else to describe this so if you have questions, please ask and I will respond.
ASKER
Of course it's vague, I said it would be :)
No test site to show.
Think about a graph which shows ping stats, nothing but ping stats... every minute, a new ping stat showing min/max/avg so, using three sets as you call them.
I explain that I want to use one of the sets as a marker, so think in terms of a single vertical line that shows a starting point or some point in time between all of the rest of the data. I would insert this into the database, what ever that is, say a field called 'marker' and what ever value is needed to create a vertical bar.
This bar would show up at a certain point in the data, sticking out like a sore thumb, or, a marker if you will.
Can't make it more clear than that but if you have more specific questions, I'll try to answer them.
No test site to show.
Think about a graph which shows ping stats, nothing but ping stats... every minute, a new ping stat showing min/max/avg so, using three sets as you call them.
I explain that I want to use one of the sets as a marker, so think in terms of a single vertical line that shows a starting point or some point in time between all of the rest of the data. I would insert this into the database, what ever that is, say a field called 'marker' and what ever value is needed to create a vertical bar.
This bar would show up at a certain point in the data, sticking out like a sore thumb, or, a marker if you will.
Can't make it more clear than that but if you have more specific questions, I'll try to answer them.
ASKER
It's pretty much a delimiter that I am in need of, something which would show when data stopped coming into the graph (database) and when it restarted.
Right now, when we display pings, if no data comes in, there is no delimiter, no clear view of data stopping for a while, then starting up again.
I need some creative way of putting a marker in the graph exactly where pings stop then start back up.
Right now, when we display pings, if no data comes in, there is no delimiter, no clear view of data stopping for a while, then starting up again.
I need some creative way of putting a marker in the graph exactly where pings stop then start back up.
@projects,
you have to provide some sample code. without knowing anything about your implementation it's not really possible to answer your question.
if you can't share a link to your development site, then you need to create a minimal working version with mock data that can be shared, via jsfiddle or something similar. this may be a lot of work, but it's the only way you're going to get your question answered.
you have to provide some sample code. without knowing anything about your implementation it's not really possible to answer your question.
if you can't share a link to your development site, then you need to create a minimal working version with mock data that can be shared, via jsfiddle or something similar. this may be a lot of work, but it's the only way you're going to get your question answered.
ASKER
I'm not sure what to share, it's nothing special.
I am simply looking for a vertical line, what ever data that needs to be is what I can insert into the db.
I am simply looking for a vertical line, what ever data that needs to be is what I can insert into the db.
share your graph code.
think of it this way, if I'm working on my car, and I ask you "how do I hook up my stereo so it gets louder as I go faster?", don't you think you would need to know some details about my car to be able to help me?
What exactly are expecting from an answer to your question if you can't provide any details about your implementation?
think of it this way, if I'm working on my car, and I ask you "how do I hook up my stereo so it gets louder as I go faster?", don't you think you would need to know some details about my car to be able to help me?
What exactly are expecting from an answer to your question if you can't provide any details about your implementation?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
@Kyle Hamilton;
>share your graph code.
I am not able to post my code publicly.
Cars all have the same basic functions and technology so if you gave me a question relating to a car, then yes, I'm sure I could give you some idea. My code is nothing special but it is not mine to post publicly.
My question is asking something fairly easy to understand by a real expert who knows and works with graphs.
As for what I expect... Look at the reply that Slick812 has given me. That is very usable, gives me leads, ideas, etc.
I don't believe someone has to post all their code to get help and that sometimes, the idea of what they need is all that needs to be asked.
>share your graph code.
I am not able to post my code publicly.
think of it this way, if I'm working on my car, and I ask you "how do I hook up my stereo so it gets louder as I go faster?", don't you think you would need to know some details about my car to be able to help me?
Cars all have the same basic functions and technology so if you gave me a question relating to a car, then yes, I'm sure I could give you some idea. My code is nothing special but it is not mine to post publicly.
My question is asking something fairly easy to understand by a real expert who knows and works with graphs.
As for what I expect... Look at the reply that Slick812 has given me. That is very usable, gives me leads, ideas, etc.
I don't believe someone has to post all their code to get help and that sometimes, the idea of what they need is all that needs to be asked.
ASKER
I've requested that this question be closed as follows:
Accepted answer: 0 points for projects's comment #a40507407
for the following reason:
Admin won't let me close this question which doesn't seem like it will ever get an answer so...
Accepted answer: 0 points for projects's comment #a40507407
for the following reason:
Admin won't let me close this question which doesn't seem like it will ever get an answer so...
According to the asker's own comment in the "accepted" solution:
I would like to recommend that Slick812's answer be accepted instead, and points be assigned.
It goes against the ethos of a volunteer community for someone to ask a question, be unwilling to do any leg work, and then deny any points to the person who spent the time and effort to accommodate them despite this attitude.
As for what I expect... Look at the reply that Slick812 has given me. That is very usable, gives me leads, ideas, etc.
I would like to recommend that Slick812's answer be accepted instead, and points be assigned.
It goes against the ethos of a volunteer community for someone to ask a question, be unwilling to do any leg work, and then deny any points to the person who spent the time and effort to accommodate them despite this attitude.
ASKER
In fact, I will award to Slick812 who actually provides information, leads, etc.
@ projects, , I appreciate all points,
HOWEVER, this experts Forum is based on an "exchange", so the questioner really needs to talk back to the comments given, saying what is helpful, or a possibility, and what is Not allowed, or Not possible.
If you would have said that any of my suggestions for marker bar was a possible, I may have further suggestions or alternates, or someone else could have ideas.
as you say - "Look at the reply that Slick812 has given me", but you never say if the "add a marker tick" was close or far away from what you were looking for.
HOWEVER, this experts Forum is based on an "exchange", so the questioner really needs to talk back to the comments given, saying what is helpful, or a possibility, and what is Not allowed, or Not possible.
If you would have said that any of my suggestions for marker bar was a possible, I may have further suggestions or alternates, or someone else could have ideas.
as you say - "Look at the reply that Slick812 has given me", but you never say if the "add a marker tick" was close or far away from what you were looking for.
ASKER
Your answer is the only one which helped us find one answer at least. Still looking for the next.
there are so many samples on the web site... what is your problem exactly? if you add 3 sets, adding 4th one should not be any issue...