03-28-2016 04:00 AM
I want create a bar chart. After done set the Column to Chart, Sum of and run it. It show me an error "There were xxx midpoints generated from the data. Specify levels=all to display the graph. What the error is? Where I can set the levels=all? Please help.
03-28-2016 05:16 AM
What are yo using to create your chart? Are you on EG, or SAS UE or Visual Analytics?
Can you post generated code?
what does your data look like and what kind of chart are you trying to create?
03-28-2016 10:26 PM - edited 03-28-2016 11:27 PM
I'm using EG. I wish to create a bar chart. The data has Customer Code, Month, Year and Sum Amount of particular Month Year. I wish to show in bar chart the total amount for each customer.
Below is the code generate by EG
CREATE VIEW WORK.SORTTempTableSorted AS
SELECT T.DebtorCode, T.SUM_of_Amount
FROM WORK.FILTER_FOR_APPEND_TABLE as T
TITLE1 "Bar Chart";
FOOTNOTE1 "Generated by the SAS System (&_SASSERVERNAME, &SYSSCPL) on %TRIM(%QSYSFUNC(DATE(), NLDATE20.)) at %TRIM(%SYSFUNC(TIME(), TIMEAMPM12.))";
PROC GCHART DATA=WORK.SORTTempTableSorted
04-05-2016 10:49 AM
I think you can add the 'levels=all' option after the '/' in the following code:
VBAR DebtorCode / levels=all SUMVAR=SUM_of_Amount CLIPREF FRAME TYPE=SUM COUTLINE=BLACK RAXIS=AXIS1 MAXIS=AXIS2