Hi, some general questions:
- How can I start a grid in "vertical" mode? (The way it show when I press the "Toggle" Icon in the toolbar?)
- Is there a way I can set the min/max values for a line chart Y axis? Currently the values are auto-calculated based on the data displayed, but for some cases I need to set the chart to start at 0
- Can I set a maximum height for any given chart?
Regards
- Can I set a maximum height for any given chart?
There is a chartheight property. But I think this is not what you need?
- Is there a way I can set the min/max values for a line chart Y axis? Currently the values are auto-calculated based on the data displayed, but for some cases I need to set the chart to start at 0
Currently, not. Put on the feature request list.
Hello guys:
Victor if you modify your project settings to use "private libraries" you can always modify the spdbgrid class and include a line similar to
$r.= ' data-card-view="true" ';
around line 1350.
in that section of the code the bootstrap classes are being set so you can try it...
regarding the zero start you can modify the spchart class to add something along this lines
$r.= ' options: { scales:{ yAxes:[{ ticks: { beginAtZero: true } }] } }, '
arond line 79,
hope this helps
Nice Coding
As long as you don't re-install, you can safely use the basic libraries, instead of private libraries. The next release will contain an enhancement for the data-card-view. If you make that change, disable the mobile-cards as they bite each other. In the new implementation PHsPeed switches between both settings, otherwise you will not be able to open in card-mode.
Regarding the scales, we are busy implementing this. Personally, I expect it will be available in the next release too. But this is a safe hack. Once available in the new version, it's a simple property.
Thank you bkfecadm, I did it in the shared library. I know it will be overwritten by future updates, but Aducom told me there will be enhacements to this in the next release...
Regards,