Forum Discussion
FICO
6 years agoCommunity Manager
VDL-chart-series line thickness
How do you change the line thickness of a vdl-chart-series?
FICO
6 years agoCommunity Manager
Hi Aiex, I answered this same question from a colleague of yours earlier today but will post the example here in case anyone else needs it.
Here is an example that shows how to modify the settings for the second series in a chart:
<vdl version="4.7">
<vdl-page>
<script>
function chartModifier(config) {
var series2 = config.data[1];
series2.line = {
dash: 'dashdot',
color: 'red',
width: 5
};
return config;
}
</script>
<vdl-section heading="Quick Chart">
<vdl-row>
<vdl-column size="12">
<vdl-chart modifier="=chartModifier">
<vdl-chart-series entity="Input"></vdl-chart-series>
<vdl-chart-series entity="Result" type="line"></vdl-chart-series>
</vdl-chart>
</vdl-column>
</vdl-row>
</vdl-section>
</vdl-page>
</vdl>
Best regards,
Joc O'Connor
Related Content
Related Content
How to display vdl-chart-series bars under lines
<vdl-chart> <vdl-chart-series type="bar" entity="mybars"/> <vdl-chart-series type="line" entity="mylines"/> </vdl-chart> The bars are defined before the lines and are shown that way in the leg...6 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread1View0likes1CommentMosel: Error located at line 136 of `bin\model.mos'. Mosel: Dumping call stack (2/2): Mosel: #0 line 136 of `bin\model.mos' Mosel: #1 line 980 of `bin\model.mos'
i got this error when i was running the for loop which i mentioned in the previous question now in the line 136 i am connecting to database using sqlconnect and connectionstring and executing a inser...2 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum13 unread comments13 unread0Views0likes13CommentsReading input file line by line in Xpress
Reading input file line by line in Xpress I am trying to iteratively solve a given model as follows forall(c in 1..|C|) do min_x {c'x | A(c)x=b} end-do where A(c) is a single line o...10 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread0Views0likes2Comments