Base text direction: in the JViews Gantt SDK
At the level of the Gantt chart
This level includes the entire activity-based Gantt chart, resource-based Gantt chart (Schedule chart), or Resource Data chart. The default base text direction of each type of Gantt chart can be set programmatically by changing the property of the current instance. For example:
Activity-based Gantt chart
// A Gantt chart that displays activities.
IlvGanttChart chart = new IlvGanttChart();
chart.setBaseTextDirection(IlvBidiUtil.RIGHT_TO_LEFT);
Resource-based Gantt chart (Schedule chart)
// A Gantt chart that displays reservations of resources.
IlvScheduleChart chart = new IlvScheduleChart();
chart.setBaseTextDirection(IlvBidiUtil.RIGHT_TO_LEFT);
Resource Data chart
// A Resource Data chart displays time-based numerical data obtained from the reservations.
IlvResourceDataChart chart = new IlvResourceDataChart()
chart.setBaseTextDirection(IlvBidiUtil.RIGHT_TO_LEFT);
The same result can be achieved by adding the code for the following selector to the CSS file:
chart {
baseTextDirection : "Right-To-Left";
}
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.