Hello guys,
I have a slightly complicated requirement.
I need to develop a chart where the Y axis interval values need to come in from the fields of the entity. That is if there
are 5 intervals for example, the 5 interval values will come from 5 different fields. Also, the values in these fields may not be consistent.
Lets say their values are 23,24,25,31,32.
Is it possible?
*This post is locked for comments
Write a plgin to get the data and update the chart presentation description xml. register the plugin to PostSaveQueryVisualizationOperation
Detailed steps;
1. In the chart, define Interval as fixed number for instance <AxisY Interval="11111" ....
2. find the element in the plgin by using XDocument and XElement
3. Replace the fixed number with the value you want to set
4. Register the plgin
Please mark it as answer if it fulfils your requirements
Hello Tricia,
Thanks a lot for the response. This is a chart based on the goals entity. The CRM is used by Sales Representatives.
In the goals entity there is a field which will be an aggreagate of the amount sold by the sales rep. This field will be represented in the x axis.
The Y axis is where the issue arises. The Y axis need the intervals from certain fields in the goal entity. These fields are basically their targets for different commission rates.
For example, a field called 1% Commision rate will have a value of $1000. A 1.5% commission rate will have a target of $1250. Similarly for others. So basically, it is chart which needs to show how much more they need to sell for the next commission rate. I hope it makes sense. I am trying to achieve this using a column chart now. I am open to other ideas as well.
Hello Donald CRM,
Can you tell us more about the use case? I'm having trouble visualizing without an actual example or story, and I imagine others are having the same trouble.
Thanks,
Tricia
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156