I am using C++ and surfacechartrotation demo. And I am using Surface Chart and Scatter Chart together. Now I want to add grid only between data points. I am not sure that is possible or not. Can you suggest a way for solve this problem?
I am not too sure what is "add grid only between data points".
In your surface chart, there are grid lines on the three walls. They are minor and major grid lines are for the x, y and z axes. ChartDirector can also add these grid lines on the surface, but in your chart they are not enabled.
One way to control the positions are the grid lines is to use Axis.addMark. The following is a brief description of one way this can be done:
(a) Set all default grid lines to invisible by setting their colors to Chart::Transparent. The API to set the grid line colors on the walls is ThreeDChart.setWallGrid.
Sorry for misunderstanding. I couldn't explain clearly. Actually I want to add grid lines on surface chart. Not on the walls. I activated surface grid and added a picture of graph. It's include a lot of small square between data points. But as you can see on second photo(I edited it on Paint) , I want to add grid for only data points. Can you suggest a way for solving my problem?
Hii sir, i have checked qt demp project. It includes all the different types of plots. Its really superb. Now, i just wamt to know, in surface plot, can i able to display x,y,z coordinates on mouse click. If yes, please give me suggestion. I didnt found in qt demo example.
In the current version of ChartDirector, it is only support for the 3D scatter chart when you click on the scatter points. In the next version of ChartDirector, it will be supported on the SurfaceChart as well.
I have attached a screen shot obtained from the next version of ChartDirector for your reference. It shows the XYZ coordinates under the mouse. (The "W" in the screen shot is the optional W coordinate supported in the next version.)
Do you need this feature quickly? If it is quickly needed, I can ask our developer to add this function as a patch to the current version of ChartDirector.
I can ask our developer to compile an updated DLL with this feature included. Would you mind to clarify which operating system editions of ChartDirector for C++ you need? (Win32, Win64, Linux(32-bit), Linux(64-bit), macOS?)